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

Hot reload is not working! #14

Open
sahilrajput03 opened this issue Feb 20, 2022 · 3 comments
Open

Hot reload is not working! #14

sahilrajput03 opened this issue Feb 20, 2022 · 3 comments

Comments

@sahilrajput03
Copy link

sahilrajput03 commented Feb 20, 2022

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

@lxsmnsyc
Copy link
Member

See solidjs/templates#30

@ryansolid ryansolid transferred this issue from solidjs/solid Feb 28, 2022
@lxsmnsyc
Copy link
Member

lxsmnsyc commented Mar 1, 2022

@ryansolid please see the linked issue that I mentioned. Apparently the bug only exists in the JS template

@sahilrajput03
Copy link
Author

@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!

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

2 participants