Open iludart opened 6 years ago
Same here. I upgraded to 1.3.* and now it seems like changes to my scss doesn't trigger watch or build.
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch",
I have only a single scss. Downgraded back to 1.1.0 and now it works again. If there is no major benefit in 1.3.* I'd rather stay in 1.1.0.
I followed create-react-app guide.
Well npm audit
lists older versions as having vulnerabilities so it would be great to have a fix for this.
Can confirm bug in v1.3.3, works in v1.3.0.
Same issue here, watch not working at all with v1.3.3 but works fine with v1.3.0
Adding the --use-polling
flag solved it for me.
When I manually stop the app and then use npm start to run it again all files are successfully created.
I'm running create-react-app using script:
"start": "sh -ac '. ./.env; npm-run-all --parallel watch-css start-js"
which in turn executes in parallel:
"watch-css": "node-sass-chokidar ./src/ --output ./src/ --watch"
"start-js": "react-scripts start"