Context
I need to use external sass stylesheets so I decided to follow the "with-external-scoped-css" example. However, the behavior is quite strange. The first time I launch the project it creates a static folder and I have my css working. If I try to make changes and run the project again nothing happens the most part of the time. Sometimes the static folder is re-created but it's really random.
Steps to Reproduce
-
Go to the "with-external-scoped-css" project
-
npm install && npm run start
Result: you may have a static folder and the css must work.
-
change the font-size in the index.sass file
-
npm run start
Result: nothing happens
-
try to delete the .next folder and the static folder
-
start the whole process again (npm install && npm run start)
Result: sometimes the static folder is re-created and sometimes it isn't
Expected Behavior
- npm install && npm run start
Result: the static folder should be created and the css should be working
-
change the font-size in the index.sass file
-
npm run start
Result: the css changes
Your Environment
Mac OS 10.11.6
node v8.6.0
npm 5.3.0
Context
I need to use external sass stylesheets so I decided to follow the "with-external-scoped-css" example. However, the behavior is quite strange. The first time I launch the project it creates a static folder and I have my css working. If I try to make changes and run the project again nothing happens the most part of the time. Sometimes the static folder is re-created but it's really random.
Steps to Reproduce
Go to the "with-external-scoped-css" project
npm install && npm run start
Result: you may have a static folder and the css must work.
change the font-size in the index.sass file
npm run start
Result: nothing happens
try to delete the .next folder and the static folder
start the whole process again (npm install && npm run start)
Result: sometimes the static folder is re-created and sometimes it isn't
Expected Behavior
Result: the static folder should be created and the css should be working
change the font-size in the index.sass file
npm run start
Result: the css changes
Your Environment
Mac OS 10.11.6
node v8.6.0
npm 5.3.0