SublimeOnSaveBuild
SublimeOnSaveBuild copied to clipboard
Watcher for build on partial save
I'm trying to configure this plugin so that it builds my main stylesheet when I save a partial so that I don't have to save the main scss everytime
Right now I just have my custom build
{ "cmd": ["sass", "--update", "$file:${file_path}/../${file_base_name}.css", "--stop-on-error", "--no-cache"] }
And then my SublimeSaveOnBuild settings
{ "filename_filter": "(/|\\\\|^)(?!_)(\\w+)\\.(css|js|sass|less|scss)$", "build_on_save": 1 }
So how I can I make this trigger when I save partials in my structure?
There is now a reply to this in https://github.com/alexnj/SublimeOnSaveBuild/issues/45#issuecomment-1085399155