Skip to content
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 serve not building correctly when save multiple files at once #2665

Closed
akram1905 opened this issue Oct 12, 2016 · 3 comments
Closed

ng serve not building correctly when save multiple files at once #2665

akram1905 opened this issue Oct 12, 2016 · 3 comments
Labels
needs: investigation Requires some digging to determine if action is needed

Comments

@akram1905
Copy link

Please provide us with the following information:

OS?

Windows 10.

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and angular-cli: 1.0.0-beta.15
node: 6.2.2
os: win32 x64

Repro steps.

  • Run ng serve.
  • Change code on multiple files.
  • Use 'save all' command.

ng serve will now start build process.
The build will catch only one file's changes!

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

I'm using Vs Code.

Depending on changes:
After ng serve build process finish, either I'll get an Typescript error or it'll not be updated.
If error happens, I'll go to re-save the file with errors (add empty line and save), but in browser I'll get:

[WDS] App updated. Recompiling...
[WDS] Nothing changed.
@filipesilva filipesilva added the needs: investigation Requires some digging to determine if action is needed label Oct 14, 2016
@awerlang
Copy link
Contributor

Starting in beta.30, I noticed this too.

@angular/cli: 1.0.0-beta.30
node: 6.9.1
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/cli: 1.0.0-beta.30
@angular/compiler-cli: 2.4.5
@angular/platform-server: 2.4.5

@filipesilva
Copy link
Contributor

This is fixed in beta.31, via #4542

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: investigation Requires some digging to determine if action is needed
Projects
None yet
Development

No branches or pull requests

3 participants