Skip to content

Classes added by ng generate class are not watched for recompilation (Windows 10 x64) #7963

@HWiese1980

Description

@HWiese1980

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

Windows 10 (!!!)
node: v6.11.1
npm: 3.10.10
@angular/cli: 1.5.0-beta.4
node: 6.11.1
os: win32 x64
@angular/animations: 4.4.4
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/router: 4.4.4
@angular/cli: 1.5.0-beta.4
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
typescript: 2.3.4

Repro steps.

  • Create a new project ng new TestRecompilation
  • Add a class by ng generate class TestClass
  • Serve the app ng serve
  • Edit and save the class file test-class.ts
    • Nothing happens
  • Edit and save a component class file like app.component.ts
    • Recompilation is triggered

The log given by the failure.

Console output? There are no error messages...

Desired functionality.

Recompilation should be triggered for any TypeScript file including those generated by ng generate class Blubb.

Mention any other details that might be useful.

I installed the current @angular/cli beta because of this behavior, hoping that it had been fixed already. But it still occurs in beta.4.

Metadata

Metadata

Assignees

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