PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Webpack sometimes doesn't recompile files on watching. #210

Closed psalkowski closed 7 years ago

psalkowski commented 7 years ago

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

FarhadG commented 7 years ago

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...

shall-git commented 7 years ago

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

FarhadG commented 7 years ago

^ Will give that a try...

fesor commented 7 years ago

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