Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.4.1
node: 8.4.0
os: darwin x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.4.1
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
typescript: 2.3.4
Repro steps.
- Clone repo https://github.com/devoto13/ng-dts-changes
ng serve
- Open http://localhost:4200 in browser
- Open
app.component.ts
and use Refactor -> Rename to renamemyConst
tomyConst1
. - Go back to browser
The log given by the failure.
Observe black screen saying Module '"*****/src/app/some"' has no exported member 'myConst1'.
Although if you open some.d.ts
file it actually has exported member myConst1
.
Desired functionality.
Changes in d.ts files are detected and I don't have to restart ng serve
after editing those.