rollup-plugin-serve
rollup-plugin-serve copied to clipboard
Using {open} option with watch re-opens browsers every change
When you configure serve like this
serve({
open:true
})
and use rollup with watch mode
rollup -c -w
A browser will open every time a change is made. Can we configure this somehow? Happy to PR if I could get a pointer to the right direction
One possible fix could be: this running
variable should be moved up to let server
https://github.com/thgh/rollup-plugin-serve/blob/master/src/index.js#L75