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

If .spec changes, ng serve re-compiles and reload the app #6962

Closed
maxime1992 opened this issue Jul 13, 2017 · 2 comments
Closed

If .spec changes, ng serve re-compiles and reload the app #6962

maxime1992 opened this issue Jul 13, 2017 · 2 comments

Comments

@maxime1992
Copy link
Contributor

maxime1992 commented Jul 13, 2017

Bug Report or Feature Request (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.2.0
node: 8.0.0
os: linux x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/flex-layout: 2.0.0-beta.8
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/material: 2.0.0-beta.7
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.2.0
@angular/compiler-cli: 4.1.3
@angular/language-service: 4.1.3

Repro steps.

ng new some-repo
cd some-repo
ng serve

Open a unit test file with .spec, change something in it.
You should see the ng serve re-compiling the app and the browser reloading it.

But nothing changed in the app.

Desired functionality.

If a .spec changes, do not re-compile the app nor reload app in the browser.

@maxime1992 maxime1992 changed the title ng serve and ng watch same time: If .spec changes, ng serve re-compiles and reload the app If .spec changes, ng serve re-compiles and reload the app Jul 13, 2017
@filipesilva
Copy link
Contributor

This is a duplicate of #6238.

@filipesilva filipesilva marked this as a duplicate of #6238 Jul 28, 2017
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants