-
Notifications
You must be signed in to change notification settings - Fork 12k
Updating assets requires a code recompilation #7521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 |
I also think assets should trigger a reload. As far as I understand the webpack-dev-server is holding the files in RAM, so also a manually Browser Refresh wouldn't show new versions of the files in the assets folder. Therefor a restart of the CLI is mandatory, which hurts a lot with an initial startup time of e.g. 40 seconds. Other use case besides @intellix SVG example: |
This seems to be an unintended consequence of #7310, where another different bug was masking this bug. |
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix angular#7521
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix angular#7521
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix angular#7521
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix #7521
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix #7521
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed. Fix angular#7521
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
node: 8.2.1
os: darwin x64
@angular/animations: 5.0.0-beta.4
@angular/cli: 1.4.0-rc.1
@angular/common: 5.0.0-beta.4
@angular/compiler: 5.0.0-beta.4
@angular/compiler-cli: 4.3.4
@angular/core: 5.0.0-beta.4
@angular/flex-layout: 2.0.0-beta.9
@angular/forms: 5.0.0-beta.4
@angular/http: 5.0.0-beta.4
@angular/platform-browser: 5.0.0-beta.4
@angular/platform-browser-dynamic: 5.0.0-beta.4
@angular/router: 5.0.0-beta.4
@angular/language-service: 4.3.4
typescript: 2.4.2
Repro steps.
curl localhost:4200/assets/image.svg
curl localhost:4200/assets/image.svg
- will not show the changeapp.component.ts
curl localhost:4200/assets/image.svg
- you'll see the changeDesired functionality.
Would like changes reflected without having to update a watched file. I'm currently debugging some weird SVG issues to do with feColorMatrix and was confused why changes weren't being shown. It wasn't until I saw the same issues in Firefox that I realised the problem was the server.
The text was updated successfully, but these errors were encountered: