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

Ng serve should compile only the lazy loaded module change and not the whole app

Open iwoogy opened this issue 10 years ago • 2 comments

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX: El Capitan

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here: angular-cli: 1.0.0-beta.18 node: 6.3.0

Repro steps.

Create Module to lazy load. Change code and save Wait for ng serve to reload

The log given by the failure.

It does not fail. However the time to reload for a complex app does not seem to be reduced between an app without lazy loading and an app with lazy loading.

I would be great if any modification to a component into a lazy loaded module would trigger only the compilation of the changed module and not the whole app.

I'm not sure if it's already the case.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

iwoogy avatar Nov 23 '16 03:11 iwoogy

We do this now.

filipesilva avatar May 22 '17 13:05 filipesilva

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.