Skip to content

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

@sonicoder86

Description

@sonicoder86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions