-
Notifications
You must be signed in to change notification settings - Fork 12k
Browser is not kicked off, changes are not detected #5831
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
Comments
Same thing is happening to me.
Not only are the files not being watched, even refreshing the page does not pick up changes. The only way to pick up changes is to kill |
@staskolukasz In my opinion the real issues here are 2-4. 1 just looks like the default value was switched:
I have a different PC running Ubuntu 16.04 and it's working on that one. The only difference is the node version:
|
No, please don't start the browser. I know better when and which one I need. |
It appears node version has nothing to do with it. I updated my Node.js to version 7.8 on my other PC and it does not seem to have fixed anything. Seems like a websockets issue. On the PC this works on, the websockets entry in chrome developer tools shows a blue bar on the timing column. However, on the PC it is not working on, there is no such blue bar, just blank white. |
Completely removing angular-cli and reinstalling it "fixed" it for me. One problem was that
Once I did that, angular-cli was completely purged from my system and I was able to reinstall |
@RPGillespie6 Thank you for you commitment. I was trying to do the same on my workstation on Windows 10/Windows 7, i.e., after uninstallation of the CLI I have deleted manually following directories:
Then I reinstalled the CLI, but I was not successfull. The problem still occurs. |
Hello, Thanks. |
Same error with this configuration : I found a "solution", set the poll to a value up to zero : ng serve --poll 2 for example, but it takes ~21 seconds to compile instead of ~2-3 seconds, but it's a better solution than a new ng serve at each modification. |
I feel like this is a very critical issue and should be a blocker as it seriously hinders development. |
Hello,
Can anybody describe in more details, what is this problem about? |
Just to add. A similar problem is discussed here. Perhaps someone can find some answers there. |
@IevhenIkonnykov This did fix it! who would've thought it was a Webstorm/Intellij issue! Thank you. 🎉 🍺 |
@IevhenIkonnykov I cannot reproduce this issue with the latest version of Webstorm maybe it's fixed (or I'm lucky for now). Thanks for your advise, I'll try your solution if this trouble continue and keep you informed if it works ;-) |
We did have some rebuild issues with css/html in the RC versions, but they were fixed by 1.0.0 final. As far as I can tell most 'changes not detected' errors are due to IDE 'safe write' features in WebStorm and Vim. @IevhenIkonnykov's solution works and there's more information about it in #5117. #1610 describes some separate issues that also have these symptoms. |
i have same problem with visual studio no changes detected |
Some problem, fresh Angular CLI install. ng serve doesn't livereload the browser on change. @angular/cli: 1.0.3 UPDATE: Found the problem! The path to my app directory had spaces and () in it. This somehow broke the live reload functionality. Just moved my project to a new path without spaces or special characters and it's working fine now. This should be fixed or documented somewhere. |
Hello,
|
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. |
Bug Report or Feature Request (mark with an
x
)Versions.
Windows
Angular CLI
Node.js
NPM
Repro steps.
The log given by the failure.
Desired functionality.
1/ Web browser is not kicked off by default. Instead I need to use:
2/ Changes are not detected at all.
3/ Project is not beeing recompiled.
4/ Browser is not refreshed when changes are applied.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: