generator-webapp icon indicating copy to clipboard operation
generator-webapp copied to clipboard

Sass is not recompiled on change.

Open fseminario opened this issue 11 years ago • 3 comments

I am making changes to the scss files in /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/, but there is no Autoreload or any compiling occurring. I spent some time tweaking the gulpfile.js but had no success. Anything I am supposed to do to get this to work?

fseminario avatar Mar 31 '15 22:03 fseminario

You should not change anything in the bower_components directory, because:

  • other people won't get your changes, because it's excluded from version control
  • once you update your package, your changes will be overridden

Packages should never be modified directly. You can override variables by placing them in main.css before @importing Bootstrap.

Let me know if you need further explanation :smiley:

silvenon avatar Mar 31 '15 23:03 silvenon

Thank you explaining this and both points make sense. It took me a bit of time to figure out to put the variables BEFORE the @import. I am up and running once again. Cheers!

fseminario avatar Apr 01 '15 04:04 fseminario

:+1:

silvenon avatar Apr 01 '15 10:04 silvenon