-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
.pug file change does not trigger page reload #2090
Comments
DeMoorJasper
pushed a commit
that referenced
this issue
Oct 2, 2018
--- name: 🙋 Fix HMR for Pug assets --- <!--- Thanks for filing a pull request 😄 ! Before you submit, please read the following: Search open/closed issues before submitting since someone might have pushed the same thing before! --> ## ↪️ Pull Request <!--- Provide a general summary of the pull request here Does this address an existing issue? --> #2090 ## 💻 Examples <!-- Examples help us understand the requested feature better --> ## ✔️ PR Todo - [ ] Added/updated unit tests for this change - [ ] Filled out test instructions - [x] Included links to related issues/PRs <!-- Love parcel? Please consider supporting our collective: 👉 https://opencollective.com/parcel/donate -->
@dum3ng PR is merged, check it out! |
devongovett
pushed a commit
that referenced
this issue
Oct 15, 2018
--- name: 🙋 Fix HMR for Pug assets --- <!--- Thanks for filing a pull request 😄 ! Before you submit, please read the following: Search open/closed issues before submitting since someone might have pushed the same thing before! --> ## ↪️ Pull Request <!--- Provide a general summary of the pull request here Does this address an existing issue? --> #2090 ## 💻 Examples <!-- Examples help us understand the requested feature better --> ## ✔️ PR Todo - [ ] Added/updated unit tests for this change - [ ] Filled out test instructions - [x] Included links to related issues/PRs <!-- Love parcel? Please consider supporting our collective: 👉 https://opencollective.com/parcel/donate -->
devongovett
pushed a commit
that referenced
this issue
Oct 15, 2018
--- name: 🙋 Fix HMR for Pug assets --- <!--- Thanks for filing a pull request 😄 ! Before you submit, please read the following: Search open/closed issues before submitting since someone might have pushed the same thing before! --> ## ↪️ Pull Request <!--- Provide a general summary of the pull request here Does this address an existing issue? --> #2090 ## 💻 Examples <!-- Examples help us understand the requested feature better --> ## ✔️ PR Todo - [ ] Added/updated unit tests for this change - [ ] Filled out test instructions - [x] Included links to related issues/PRs <!-- Love parcel? Please consider supporting our collective: 👉 https://opencollective.com/parcel/donate -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
change a .pug file should trigger page reload.
🎛 Configuration (.babelrc, package.json, cli command)
no configuration.
🤔 Expected Behavior
1, use
parcel index.pug
2, edit index.pug and save.
The browser should automatically reload the page.
😯 Current Behavior
When the entry point is html type, the page reload works. But that does not work
for a pug file type.
💁 Possible Solution
For now I use 'parcel watch index.pug' and use another watch server, but I think parcel should
handle this natively.
💻 Code Sample
index.pug
./ts/play.ts
🌍 Your Environment
The text was updated successfully, but these errors were encountered: