When running Webpack in watch mode in a terminal, I noticed that saving a file in my project does not trigger Webpack. It does work if I open VS Code and save the exact same file. That leads me to believe that it's restricted to Webstorm (I'm using 2019.1 on trial mode on Windows 10).
I tried the following with no luck:
- Turning off 'safe write' option and restarting Webstorm
- Doing a fresh clone of my repo in a different folder, running Webpack watch and saving a file
- Opening a different Webpack project and tried triggering the watch with a different file
- Removed Webstorm's file scope
- Running Webpack from the integrated Webstorm terminal and outside the Webstorm terminal, even created a Run configuration that would start Webpack in watch mode
- Just out of curiosity, running the TypeScript compiler in watch mode and tried saving a .ts file in the same project to trigger the TypeScript compiler. That also does not work.
At this point, I don't really know what to do, the usual answer I see (turning off 'safe write') doesn't seem to do anything.