Skip to content
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

etag is not correctly update #1409

Closed
dishuostec opened this issue Oct 26, 2020 · 0 comments · Fixed by #1418
Closed

etag is not correctly update #1409

dishuostec opened this issue Oct 26, 2020 · 0 comments · Fixed by #1418

Comments

@dishuostec
Copy link
Contributor

snowpack: 2.15.1

Steps to reproduce:

  1. run npx create-snowpack-app new-dir --template @snowpack/app-template-svelte
  2. enter new-dir and run npm run start
  3. edit src/App.svelte, change background color for .App-header to #000000
  4. reload browser

Expected:

Background color is black.

Current:

Style is missing.

Possible Sulotion:

It seems when svelte file changed, only etag for /_dist_/App.css.proxy.js?mtime=xxx was changed, but etag for origin url /_dist_/App.css.proxy.js was not update.

https://github.com/snowpackjs/snowpack/blob/626b8fa8c2109f6903ca4ea3731d4f6ae6eac00a/snowpack/src/commands/dev.ts#L1178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant