custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

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

Open tcchau opened this issue 7 years ago • 0 comments

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.

tcchau avatar May 30 '18 19:05 tcchau