PatrickJS/NG6-starter

Webpack sometimes doesn't recompile files on watching.

psalkowski opened this issue · 4 comments

I have latest cloned version of NG6-starter and in PHPStorm when I make changes in files and tries to save it by CTRL + S, webpack nothing do. Sometimes I need to make change in one of file (doesn't matter which one) and again save file. If still not work, then need to repeat process.

It always work after few tries :)

NodeJS: v7.5.0
NPM: v4.1.2
Windows 10 PRO, 64 bit

This is exactly the same issue we're having and we, continually, need to pseudo-save files to have webpack pick up changes.

Would love to see what kind of fix we can get in for this...

Just turn off 'Safe write' setting in PHPStorm. Follow these steps
https://stackoverflow.com/a/34225091/6396555

^ Will give that a try...

fesor commented

Closing this since issue is related to webpack. If you have this problem please check webpack documentation or found/write issue in their repository.