Hot reload triggers a browser refresh (or something resembling it), but it reflect the state of the code before the save event. I need to save the file twice to see the correct version.
// package.json
{
"name": "graph-nav",
"version": "1.0.0",
"description": "Navigation experiments over graphs to characterize hierarchical structure in behavior.",
"source": "templates/exp.template.html",
"dependencies": {
"eslint": "^7.26.0",
"parcel": "^2.0.0-rc.0"
},
"devDependencies": {},
"scripts": {
"build": "parcel build --no-scope-hoist --public-url /dist",
"watch": "parcel watch --public-url /dist --no-cache"
},
"engines": {
"node": "14.x"
},
}
No babel configuration.
parcel watch --public-url /dist
🐛 bug report
Hot reload triggers a browser refresh (or something resembling it), but it reflect the state of the code before the save event. I need to save the file twice to see the correct version.
🎛 Configuration (.babelrc, package.json, cli command)
No babel configuration.
Command: