angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng serve do not auto update the dist after changing source files.

Open harilal opened this issue 10 years ago • 5 comments

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 14.04
  2. Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here: Could not start watchman; falling back to NodeWatcher for file system events. Visit http://ember-cli.com/user-guide/#watchman for more info. angular-cli: 1.0.0-beta.15 node: 6.6.0 os: linux x64
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you do on your code? etc. Added some components.
  4. The log given by the failure. Normally this include a stack trace and some more information.

The "ng serve" runs the server on port 4200 but after editing and saving the source file it do not get updated . Most time need to manually run ng build and then ng serve or need to restart ng serve

  1. Mention any other details that might be useful.

Thanks! We'll be in touch soon.

harilal avatar Sep 22 '16 07:09 harilal

I noticed when i make a new project in a folder containing white spaces in the name/path some files are missing in node-modules (970 folders)and auto update doesn't work. When creating a project in a folder without white spaces everything works fine, node-modules(979 folders). (This is on Linux mint).

udr013 avatar Sep 27 '16 13:09 udr013

@udr013 You fixed the problem for me. The parent folder of my project has white spaces and special charecters. I removed them all and now everything update flawlessly. Thanks a lot !

esikuriansky avatar Oct 11 '16 23:10 esikuriansky

Dupe of https://github.com/angular/angular-cli/issues/1610 then. Will look for fix there.

filipesilva avatar Oct 14 '16 17:10 filipesilva

i have tried all the thing but nothing is going right

angular-cli: 1.0.4 node: 6.10.3 os: ubuntu 14.04 x64

gs-nitin27 avatar Jun 01 '17 09:06 gs-nitin27

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.