parcel
parcel copied to clipboard
Parcel hot reload error on WSL
🐛 bug report
In WSL 2, Parcel is unable to handle hot reloading properly. When editing a source file, the following error occurs
🚨 Build failed.
unknown: Entry /home/skamath/parcel-dev/index.html does not exist
🎛 Configuration (.babelrc, package.json, cli command)
npx parcel serve index.html --no-cache --log-level verbose
{
"name": "parcel-dev",
"version": "1.0.0",
"description": "",
"source": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"parcel": "^2.12.0"
}
}
🤔 Expected Behavior
Expect hot reloading to work.
😯 Current Behavior
Hot reload not working
unknown: Entry /home/skamath/parcel-dev/index.html does not exist
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
| Software | Version(s) |
|---|---|
| Parcel | 2.12.0 |
| Node | v18.19.1 |
| npm | 9.2.0 |
| Operating System | 5.15.153.1-microsoft-standard-WSL2 Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble |
Maybe you don't have proper permissions? Please provide a reproduction.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.