Skip to content

Modifying component template in AOT mode has no affect only after restart #3084

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

Closed
sonicoder86 opened this issue Nov 9, 2016 · 3 comments
Closed
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix

Comments

@sonicoder86
Copy link

OS?

Linux Ubuntu 16.04

Versions.

Node: 6.7.0
Angular 2: 2.1.2
@ngtools/webpack: 1.1.4

Repro steps.

Using @ngtools/webpack with webpack-dev-server compiles the application right at startup, but when modifying a component template it still serves the old version after refresh.

Clone this repository and start the application with npm run start-plugin and modify the HelloWorldComponent.
If i stop the server and start it again, it shows the new version.

@sonicoder86 sonicoder86 changed the title Modifying component template has no affect only after restart Modifying component template in AOT mode has no affect only after restart Nov 9, 2016
@filipesilva filipesilva added feature: aot P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Nov 21, 2016
@filipesilva
Copy link
Contributor

It's working from within the CLI, but am unsure why it wouldn't work with just the plugin. Maybe @hansl can shed some light on it.

@sonicoder86
Copy link
Author

Needed to add @ngtools/webpack to rules also.

@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
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants