Skip to content

ng build --prod --watch (void 0) is not a function #10471

@1456118242

Description

@1456118242

I have this problem too. I have the demo https://github.com/1456118242/angular-watch-demo

w

Versions

"@angular/common": "^5.2.0",
"@angular/cli": "~1.7.2",

Repro steps

  • Step 1 run ng build --watch --prod
  • Step 2 Modify the compent file
  • Step 3 refresh page
  • Step 4 Modify the compent file
  • Step 5 refresh page

Observed behavior

![3](https://user-images.githubusercontent.com/18241022/39288390-5a0614da-495a-11e8-919b-4e73e5bd9888.png)
![2](https://user-images.githubusercontent.com/18241022/39288426-7cabfd9c-495a-11e8-9afa-d95d30454c6d.png)

Desired behavior

Mention any other details that might be useful (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions