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

Support for hooking into livereload process #20

Open
filoxo opened this issue Nov 9, 2019 · 2 comments
Open

Support for hooking into livereload process #20

filoxo opened this issue Nov 9, 2019 · 2 comments

Comments

@filoxo
Copy link

filoxo commented Nov 9, 2019

I'm not sure how possible this is, I'm only really just starting to use Rollup. This plugin does its job well for a one-time build but it doesn't seem to rebuild the html when used in conjunction with rollup-plugin-livereload. I'm not sure its possible to hook into that process to know when the index.html changed ini order to rebuild it but that would be a great feature.

@bengsfort
Copy link
Owner

Hey @filoxo, this is actually something I looked into before but it turns out it is very complicated due to the way rollup plugins tie into the rebundling process. As I am working with Rollup daily again, I'll try to set some time aside to try to get this sorted.

@frangio
Copy link

frangio commented Apr 16, 2021

Is it possible to use addWatchFile to fix this? livereload should then pick up the changes in the output.

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