-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng build --watch broken #2511
Comments
same happens on Windows. There is one main reason why we would use ng build -watch over ng serve.. we need the generated map files on the disk instead of in-memory on the webpack dev server so we will be able to debug from webstorm.. |
@denkomanceski @jonnysamps to get around this run the following: |
Good tip @splintercode. Works like a charm. |
Unfortunately it does not seem to work for me. I have a directory called test. Inside this directory are two other directories. One for my electron program and the other an angular app built using ng new. Now I've set my angular-cli.json to output to When I do a normal ng build, it creates the files as it should. However if I use ng build --watch with that directory and change anything, it does not update anything. Btw: I am using windows7 64bit |
Follow up from angular#2158 Fix angular#2511
Follow up from angular#2158 Fix angular#2511 Close angular#2611
Follow up from angular#2158 Fix angular#2511 Close angular#2611
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
angular-cli: 1.0.0-beta.16
node: 6.7.0 (I also tried it on 5.12.0 and 4.6.0)
os: darwin x64
Repro steps.
npm install -g angular-cli@latest
ng new build-watch
cd build-watch
ng build -w
The log given by the failure.
The text was updated successfully, but these errors were encountered: