ng serve does not consider/update pipes
Angular-CLI don't update pipes on save.
OS?
Windows 10 64bits
Versions.
1.0.0-beta.26
Repro steps.
Add new pipe to your project by doing
ng g p pipename, launch app withng servethen update your pipe in your editor/IDE and save it. Angular-CLI will recompile the app but won't consider the pipe's changes.
I just tried with beta.29 and this seems to work fine.
Steps:
ng new sampleapp
cd sampleapp
ng g pipe sample
The modified sample.pipe.ts:
transform(value: any, args?: any): any
return value + ' add 123';
}
Then modified app.component.html:
<h1>
{{title | sample}}
</h1>
Then ran ng serve, and opened Chrome.
Then, while still serving, changed sample.pipe.ts to:
transform(value: any, args?: any): any
return value + ' add 123 456';
}
And switched to Chrome.. The browser has already refreshed and I could see the new pipe value.
Same as #4338
@Meligy Just installed beta 29 and followed your steps, but the error still occurs
Dupe of https://github.com/angular/angular-cli/issues/4338
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.