-
Notifications
You must be signed in to change notification settings - Fork 99
Description
I seek some examples and tutorials which given me a command to watch one file:
"build:css:compile": "sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules"
But I have other scss file which need be watching if it's changes:
- active_admin.scss
- pdf.scss
how can I configure the watcher to build only the changed file?
Today I build all these every save from scss file:
"build:css:compile": "sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css ./app/assets/stylesheets/pdf.scss:./app/assets/builds/pdf.css ./app/assets/stylesheets/active_admin.scss:./app/assets/builds/active_admin.css ./app/assets/stylesheets/public.scss:./app/assets/builds/public.css ./app/assets/stylesheets/devise.scss:./app/assets/builds/devise.css --no-source-map --load-path=node_modules"