-
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
Build is not kicking off in a browser on save #4338
Comments
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 |
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 |
|
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 |
hmm.. On Mac OS latest and NPM 6.x latest, I was able to get a new beta.29 project to detect changes to:
Could this be OS related or upgrade related? Any concrete steps to reproduce on a new project? |
|
That explains why it works for me. The version I get on a new project is |
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 |
@aprades cd to your project and run |
Ok, it doesn't work with @ngtools/[email protected] With @ngtools/[email protected] it works fine. |
Great @aprades! |
I freshly installed angular-cli
Trying Previously it worked just fine. |
@niklas-dahl The new npm name for the project is @angular/cli try: npm install -g @angular/cli |
Thanks, @Legit . Installing @ngtools/[email protected] resolved my issue. |
I can see an about 2s improvement. I get a 2-3 seconds build time on save. Previously i was getting 4-5 seconds before. |
When will there be a release? Im waiting for this every day :) |
This was already fixed for me in the latest @angular/cli |
In beta 30? I didn't see it in the changelog tho. |
In master, but not in beta 30 :/ |
It is in latest @ngtools/webpack. And I think, that @angular/cli always
install the latest version.
…On Mon, Feb 6, 2017, 13:22 Mick Lawitzke ***@***.***> wrote:
In master, but not in beta 30 :/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGkHslaLKr8liugoiDDtFgnT772_0td6ks5rZxBxgaJpZM4L0s2T>
.
|
Thanks @Legit for solving my issue |
Seems to be fixed for dev mode but still broken if use ng --aot --prod (didn't try just one). Using a number that I keep incrementing to see what gets displayed it looks like somehow its serving up what was two compilations behind. i.e. starting at 0 at incrementing by 1, I see 1 when last saved and compiled change was 3, and 2 when last change was 4, etc.. |
I faced with the same problem on Ubuntu 16.04 and angular CLI 1.0.0-beta.30 The problem was related with Inotify Watches Limit on Linux.
After that I restarted my IDE (WebStorm in my case) and after that the change detection started to work. |
…iles (angular#4384) Fix WebpackCompilerHost's cache invalidation behavior on Windows systems. Previously, no call to _resolve was made, causing paths with backslashes not to match the file cache. Fixes angular#4422 Fixes angular#4345 Fixes angular#4338
@ulymor you'd probably be interested in this comment #2389 (comment) :-), as apparently modifying the inotify settings as so would use a large amount of RAM for nothing. |
installing |
I'm still experiencing this issue. I'm building an a freshly updated Rasberry Pi 3 Model B. @angular/cli: 1.0.0 It always catches that a file changes and rebuilds and sometimes works but eventually stops reflecting changes browser side. Once it stops working, it requires restarting ng serve to fix it. |
same issue here: {
"name": "client",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.0.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-coverage-istanbul-reporter": "^0.2.0",
"protractor": "~5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "~2.2.0"
}
} |
…iles (angular#4384) Fix WebpackCompilerHost's cache invalidation behavior on Windows systems. Previously, no call to _resolve was made, causing paths with backslashes not to match the file cache. Fixes angular#4422 Fixes angular#4345 Fixes angular#4338
I had the same issue but got it working! My setup: A virtual machine running Linux with shared folders to Windows, coding in PhpStorm. |
Thought I should add this here. This is an open PR linked to by other issues similar to this one. It may contain a resolution for others still having this issue. #4009 |
@themroc5 Thank you. It was well this problem that was also happening through WebStorm, now it worked. |
hey i am new to angular just created new project as told in quick start. when i install webpack 1.2.4 it gives error while compiling. |
I am also facing the same issue. ng serve is not getting reloaded when changes made in a particular directory Model. Apart from those Model classes it is detecting the changes.. @angular/cli: 1.3.2 Please help me to fix this issue.. |
@themroc5 Thank you very much! After two days spending on this problem, finally solved and I had no idea it was all about phpStrom ! |
@mhyeganeh I find this issue very often in my workshops. |
|
@chapultepec Please do not repeatedly cross-post the same message. Also, advocating running a command as root as a general solution opens up the user to potential security implications. |
@clydin sorry i was trying to help because the issue is repeated. |
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
Windows 10.
Versions.
Repro steps.
Migrate from beta.24 to beta.28.3
Modify any file
Click save
Chrome dev console saying:
The new build is not kicking off
So had to stop and reastart
ng serve
manuallyThe text was updated successfully, but these errors were encountered: