Skip to content

Instantly share code, notes, and snippets.

@chrisforrette
Created November 3, 2015 22:52
Show Gist options
  • Save chrisforrette/67f4303dc318d92f5cde to your computer and use it in GitHub Desktop.
Save chrisforrette/67f4303dc318d92f5cde to your computer and use it in GitHub Desktop.
Build/watch scripts for node-sass
{
"scripts": {
"watch:css": "nodemon --watch static/scss --ext scss,json --exec \"npm run build:css\"",
"build:css": "node-sass ./static/scss/app.scss --precision 7 --stdout --source-map-embed --include-path ./node_modules/ | postcss -u autoprefixer -o ./static/build/css/app.css",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment