solid-refresh
solid-refresh copied to clipboard
Hot reload is not working!
Describe the bug
When i change some code in App.jsx
, I need to manually refresh the browser page. I don't know if this is expected or not?
But I would really like if the browser page refresh automatically if i chnage some code in the source code.
Your Example Website or App
https://github.com/sahilrajput03/learning-solidjs/tree/main/solidjs-myapp
Steps to Reproduce the Bug or Issue
I used the latest version of solidjs to create the project.
> npx degit solidjs/templates/js my-app
> cd my-app
> npm i # or yarn or pnpm
> npm run dev # or yarn or pnpm
from https://www.solidjs.com/guides/getting-started
Expected behavior
The browser should reload automatically as it stated by solidjs in the initila component like
Edit
src/App.jsx
and save to reload.
Screenshots or Videos
https://imgur.com/a/VXphoE6
Platform
- OS: Arch Linux: 5.16.9-arch1-1
- Browser: Chrome and Firefox
Additional context
No response
See solidjs/templates#30
@ryansolid please see the linked issue that I mentioned. Apparently the bug only exists in the JS template
@ryansolid please see the linked issue that I mentioned. Apparently the bug only exists in the JS template
Yes, I should have mentioned that I continued to use ts temlate and its working qute superb for me!