sublimetext2 - Sublime, SASS exclude with regex? -


i have onsavebuild plugin setting:

"filename_filter": "\\.(css|js|sass|less|scss)$" 

which compile formats on save. however, in case of sass/scss, want exclude imported files starting "_". how can alter option that?

not sure, think should want. assume file name (before extension part) contains @ least 1 character, case of sass , scss.

"^[^_].*\\.(sass|scss)$|\\.(css|js|less)$" 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -