Skip to content

Instantly share code, notes, and snippets.

@jawinn
Last active February 22, 2018 09:08
Show Gist options
  • Save jawinn/6677023 to your computer and use it in GitHub Desktop.
Save jawinn/6677023 to your computer and use it in GitHub Desktop.
Regex to ignore SASS / LESS partials (files starting with underscore) from being built by SublimeOnSaveBuild
// UPDATED VERSION
{
"filename_filter": "(/|\\\\|^)(?!_)(\\w+)\\.(css|js|sass|less|scss)$",
"build_on_save": 1
}
// DEFAULT (for reference, in case you need it back)
{
"filename_filter": "\\.(css|js|sass|less|scss)$",
"build_on_save": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment