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

Making a change to an e2e test while running ng e2e causes entire app to rebuild, slow #8364

Closed
ghost opened this issue Nov 6, 2017 · 4 comments
Labels
P5 The team acknowledges the request but does not plan to address it, it remains open for discussion severity2: inconvenient

Comments

@ghost
Copy link

ghost commented Nov 6, 2017

Bug Report or Feature Request (mark with an x)

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

Versions.

$ ng --version                                                          
    _                      _                 ____ _     ___             
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|            
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |             
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |             
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|            
               |___/                                                    
@angular/cli: 1.4.2                                                     
node: 6.10.1                                                            
os: win32 x64                                                           

Repro steps.

  • run ng e2e --port=4201
  • make a change to an e2e test
  • rebuild takes about 1.15 minutes.

With ng serve a code change only takes ~10 seconds to recompile. Why is rebuilding as part of e2e so slow?

@picheli20
Copy link

Have you already tried to set the --sourcemap false? It reduces a lot the build time (check #5775)

@Brocco Brocco added P5 The team acknowledges the request but does not plan to address it, it remains open for discussion severity2: inconvenient labels Nov 13, 2017
@FrancescoBorzi
Copy link

any news about this?

@filipesilva
Copy link
Contributor

I think this issue is a duplicate of #2861. We don't have a watch mode for e2e so ng e2e shouldn't be rebuilding anything in the first place.

@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 Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P5 The team acknowledges the request but does not plan to address it, it remains open for discussion severity2: inconvenient
Projects
None yet
Development

No branches or pull requests

4 participants