kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
993 stars 97 forks source link

Is there any way to get hot reloading of style changes to work with modules? #144

Open tcchau opened 6 years ago

tcchau commented 6 years ago

When you make a styling change specified in a *.module.scss|less|css file, the changes will compile and cause a window.reload().

This is to be expected, I think, because with modules, you're actually instantiating a styles Javascript object in your code.

However, this makes styling work on large projects painful, because of the compilation time.

Has anyone else encountered this problem and solved it without ejecting?

Thanks.