Skip to content

Watch doesn't work with @ngtools/webpack  #9688

@dawidgarus

Description

@dawidgarus

Versions

os: Windows 8.1
node: 6.13.0
npm: 3.10.10

"@angular/common": "^5.2.1",
"@angular/compiler": "^5.2.1",
"@angular/compiler-cli": "^5.2.1",
"@angular/core": "^5.2.1",
"@angular/platform-browser": "^5.2.1",
"@angular/platform-browser-dynamic": "^5.2.1",
"@ngtools/webpack": "^1.10.0",
"raw-loader": "^0.5.1",
"rxjs": "^5.5.2",
"typescript": "^2.5.3",
"webpack": "^3.10.0"
"zone.js": "^0.8.18"

Repro steps

Observed behavior

Despite the fact that file has changed, project is not recompiled.
But when main.ts or app.module.ts changes, then project is recompiled, so watcher seems to be working.

Desired behavior

Project should be recompiled after change.

Mention any other details that might be useful (optional)

EDIT:
It seems to be working fine without skipCodeGeneration: true - it might be issue with that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions