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

Parcel hot reload error on WSL #9949

Open
shrkamat opened this issue Sep 12, 2024 · 0 comments
Open

Parcel hot reload error on WSL #9949

shrkamat opened this issue Sep 12, 2024 · 0 comments

Comments

@shrkamat
Copy link

shrkamat commented Sep 12, 2024

🐛 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

asciicast

🌍 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
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

No branches or pull requests

1 participant