Upload or synchronize automatically after Webpack --watch compilation
Hello,
It seems that in the current version of PHPStorm I'm not able to automatically upload files after Webpack --watch compilation. I have to trigger the File | Synchronize manually for PhpStorm to see the changes in my files. I'm running the task through NPM scripts directly inside PhpStorm. Everything work as expected except the file upload.
1. I have uncheck the Safe write options.
2. I have external changes checked in the deployment options
I'm using PhpStorm 2018.1.3
Build #PS-181.4892.97, built on May 9, 2018
JRE: 1.8.0_152-release-1136-b38 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4
And here are my simple NPM scripts
"scripts": {
"build": "NODE_ENV=development webpack --mode=development",
"watch": "NODE_ENV=development webpack --mode=development --watch",
"prod": "NODE_ENV=production webpack --mode=production"
}
Thanks in advance.
请先登录再写评论。
It seems to be this one: https://youtrack.jetbrains.com/issue/IDEA-190230
Please collect the logs as described here:
https://youtrack.jetbrains.com/issue/IDEA-190230#comment=27-2847715
And attach the archive within a comment in the issue on the bug tracker. Thank you!
Done! Thanks for the help.