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

usePolling config for Vite auto refresh #574

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

Tom-TBT
Copy link
Contributor

@Tom-TBT Tom-TBT commented Jul 3, 2024

At least in my case, starting the app with npm run start did not refresh the page after modifications.

I found this fix for Vite 3.0.0 and higher (I have v3.2.10)

https://www.reddit.com/r/sveltejs/comments/vzdsc0/npm_run_dev_not_automatically_refreshing_with/

Copy link
Member

@will-moore will-moore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great - works fine for me.
The devDependencies already have "vite": "^3.2.10", so that's fine.

@will-moore will-moore merged commit 6456608 into ome:master Jul 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants