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

cli hot reload does not work for WSL #1867

Closed
JocoNagy opened this issue Jan 25, 2024 · 0 comments · Fixed by #2721
Closed

cli hot reload does not work for WSL #1867

JocoNagy opened this issue Jan 25, 2024 · 0 comments · Fixed by #2721
Assignees
Labels
bug Something isn't working cli Related to the dioxus-cli program
Milestone

Comments

@JocoNagy
Copy link

Problem

When I run 'dx serve' with hot reload in WSL, it does not detect any changes.

Steps To Reproduce

Steps to reproduce the behavior:

  • Install Dioxus CLI on WSL
  • run 'dx serve --hot-reload'
  • change any element or attribute

Expected behavior

The page should be updated with the changes

Environment:

  • Dioxus version: 0.4.3
  • Rust version: 1.75.0
  • OS info: Microsoft Windows 11 Pro / WSL2
  • App platform: web

Additional notes

Its probably related to this issue in notify-rs
I had similar problem with trunk, using explicit '--poll' flag helps there.

@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels Jan 25, 2024
@jkelleyrtp jkelleyrtp added this to the 0.6.0 milestone Jul 25, 2024
@DogeDark DogeDark self-assigned this Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants