Open DetachHead opened 2 years ago
@DetachHead We're not supporting vite build --watch
right now. The development build is highly specialized for the Vite development server, so it's kind of a big feature.
What's your use case where you can't use the normal Vite dev server?
I'm developing a chrome extension, using web-ext
to automatically reload the extension on change. Unfortunately that means I can't use the dev server since it needs to watch the dist
directory for changes then reinstall the extension from there whenever there's a change
@jacksteamdev we are also having a similar scenario that @DetachHead is facing. Are there any plans to add support for vite build --watch
anytime soon?
@crxjs/vite-plugin@2.0.0-beta.1
features a complete rewrite of the code that caused this bug. I haven't tested it extensively, but it may work: https://www.npmjs.com/package/@crxjs/vite-plugin/v/2.0.0-beta.1
it may work
it works : )
Build tool
Vite
Where do you see the problem?
Describe the bug
Reproduction
Logs
No response
System Info
nb: using
rollup-plugin-chrome-extension
patched with #322Severity
blocking all usage of RPCE