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

Live reload #23

Open
curran opened this issue Jun 28, 2021 · 4 comments
Open

Live reload #23

curran opened this issue Jun 28, 2021 · 4 comments

Comments

@curran
Copy link
Contributor

curran commented Jun 28, 2021

Currently one must refresh the browser manually on each build.

The builds are triggered automatically when source files change, so something that just watches bundle.js would be sufficient.

Might there be some low hanging fruit approach to enable live reload?

It appears serve does not do live reload, so we'd need to swap it out with something else. Perhaps something like live-server, which unfortunately seems a dead project (published 3 years ago).

Any ideas?

@VincentVToscano
Copy link

Hi @curran,

Hoping you're having a good day. I landed here by ways of a related issue on GH and was hoping that you might have gotten some more interest via another issue or source since you posted this on June 28? Have you had any interest elsewhere?

@curran
Copy link
Contributor Author

curran commented Sep 16, 2021

I'm still interested in finding a suitable solution. I have not found one yet.

@VincentVToscano
Copy link

Thanks for your response. Hoping you find one as well.🤞Rollup is a great product and perhaps someone in the community will stumble upon this and offer up something that can accommodate this need. Best to you.

@mugendi
Copy link

mugendi commented Dec 13, 2023

Hey mates. I also love rollup a lot and love it tremendously. Had the same problem as all of you and I wrote a plugin rollup-plugin-reloadsite that leverages on the power of ReloadSite (another of my modules) to enable HMR on rollup.

Best part is you can watch multiple folders even those outside your src and dest directories, such as your server scripts.

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

3 participants