You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Ubuntu Trusty Tahr (14.04) [LTS] 64 vagrant guest OS on Windows 10 host.
Versions.
Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.19-3
node: 6.4.0
os: linux x64
The file change detection isn't working with ng serve in vagrant on a Windows host. I've had the same issue using Browsersync and fixed it using "usePolling" in "watchOptions".
There is a similar configuration option in webpack.config.js but you can't edit that in angular-cli, so how about adding support for the "--watch-poll" flag to ng serve instead?
OS?
Versions.
The file change detection isn't working with ng serve in vagrant on a Windows host. I've had the same issue using Browsersync and fixed it using "usePolling" in "watchOptions".
There is a similar configuration option in webpack.config.js but you can't edit that in angular-cli, so how about adding support for the "--watch-poll" flag to ng serve instead?
According to these comments "--watch-poll" should fix the issue:
webpack/webpack-dev-server#155 (comment)
webpack/webpack-dev-server#324 (comment)
http://stackoverflow.com/a/34937378
The text was updated successfully, but these errors were encountered: