Skip to content

Instantly share code, notes, and snippets.

@ihorvorotnov
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihorvorotnov/9106921 to your computer and use it in GitHub Desktop.
Save ihorvorotnov/9106921 to your computer and use it in GitHub Desktop.
SASS/SCSS build command for Sublime Text to always compile only one main style.scss
/**
* Stop SASS Build package from compiling _chunks and always compile one style.scss which @imports all _chunks
* /scss/style.scss => /style.css
* Based on http://hovercraftie.tumblr.com/post/61592756918/update-sass-build-plug-in-for-sublime-text-2-to-allow
*/
// Put this in SASS.sublime-build
"cmd": ["sass", "--update", "${file_path}/style.scss:${file_path}/../style.css", "--stop-on-error", "--no-cache"],
// Put this is SASS - Compressed.sublime-build
"cmd": ["sass", "--update", "${file_path}/style.scss:${file_path}/../style.css", "--stop-on-error", "--no-cache", "--style", "compressed"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment