We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the simplest possible hello world setup with PUG files:
index.pug
html body h1 Hello World Header script src="./script.js"
script.js
console.log('hello world')
all default, most current version of parcel-bundler
CLI Command: parcel index.pug
parcel index.pug
View in browser should be updated when content of index.pug is changed.
When manually reloading the new content is shown.
The text was updated successfully, but these errors were encountered:
SOLVED
You must include a "dummy" script. Also when using PUG. #83, #90, #558 still seem to be an issue although closed.
But you must do that correctly in PUG :-) I had a typo above. Missing brackets in the pug script tag:
html body h1 Hello World Header script(src="./script.js") // <== need brackets here
The hot reloading the page autoamtically in the browser wordks.
Sorry, something went wrong.
No branches or pull requests
🐛 bug report
I have the simplest possible hello world setup with PUG files:
index.pug
script.js
🎛 Configuration (.babelrc, package.json, cli command)
all default, most current version of parcel-bundler
CLI Command:
parcel index.pug
🤔 Expected Behavior
View in browser should be updated when content of index.pug is changed.
😯 Current Behavior
💁 Workaround
When manually reloading the new content is shown.
The text was updated successfully, but these errors were encountered: