Skip to content

Hot reload is not working! #14

@sahilrajput03

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

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