Skip to content

Hot reload is not working! #14

Open

Description

@sahilrajput03

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

Activity

  1. lxsmnsyc commented on Feb 21, 2022

    @lxsmnsyc
    Member
  2. transferred this issue fromsolidjs/solidon Feb 28, 2022
  3. lxsmnsyc commented on Mar 1, 2022

    @lxsmnsyc
    Member

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

  4. sahilrajput03 commented on Mar 1, 2022

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions