Build is not kicking off in a browser on save
OS
Windows 10.
Versions.
angular-cli: 1.0.0-beta.28.3
node: 6.9.2
os: win32 x64
@angular/common: 2.4.5
@angular/compiler: 2.4.5
@angular/core: 2.4.5
@angular/flex-layout: 2.0.0-beta.4
@angular/forms: 2.4.5
@angular/http: 2.4.5
@angular/material: 2.0.0-beta.1
@angular/platform-browser: 2.4.5
@angular/platform-browser-dynamic: 2.4.5
@angular/router: 3.4.5
@angular/compiler-cli: 2.4.5
Repro steps.
Migrate from beta.24 to beta.28.3 Modify any file Click save Chrome dev console saying:
[WDS] App updated. Recompiling...
[WDS] Nothing changed.
The new build is not kicking off
So had to stop and reastart ng serve manually
Same issue here.
same issue here
Hello. I am having the same problem. Every change I make to ANY file causes me to end the command and do ng serve just to see the changes.
Same issue. Recompile is not working properly.
And you are showing that next release will be production release.
Hello, I have the same issue but ONLY with pipes, version beta 26
Same issue here on Win 10
Beta 28 is broken af...
This issue seems to affect new .ts files or changes in any .ts files as well. Template changes in .html files update, but underlying script files do not.
im having this same issue in win10
Same issue here...
Anybody tried beta 29?
Note that beta 29 comes with a new package name @angular/cli instead of angular-cli.
@angular/cli has the same problem. Changes are not detected. Especially difficult when a full rebuild takes more than 30 seconds
Anybody else having a hard time reverting back to beta 26? I've gotten so far as to remove all node_modules global, local and cache and reverting to what I know was a working state of my project, but still no changes are detected when I run ng serve.
hmm..
On Mac OS latest and NPM 6.x latest, I was able to get a new beta.29 project to detect changes to:
- A pipe used in
app.component.html(details: https://github.com/angular/angular-cli/issues/4336#issuecomment-276911060) app.component.htmlitself- The title property in
app.component.ts
Could this be OS related or upgrade related?
Any concrete steps to reproduce on a new project?
npm install --save @ngtools/[email protected]
seems to have fixed it for me.
thanks to @beeman for his solution in #4329.
That explains why it works for me. The version I get on a new project is @ngtools/[email protected].
Yep. There was an issue previously with webpack 1.2.5 which was fixed in 1.2.6 a couple of hours ago. A new angular-cli wasn't released, just a new version of @ngtools/webpack, so make sure you've got that guys
Well, that explains why reverting to an old version doesn't work. Older cli versions will still download the new webpack version
It still doesn't work for me. Started new project, and still same issue.
angular-cli: 1.0.0-beta.28.3 node: 6.9.5 os: win32 x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/platform-browser: 2.4.5 @angular/platform-browser-dynamic: 2.4.5 @angular/router: 3.4.5 @angular/compiler-cli: 2.4.5 @ngtools/webpack: 1.2.6