-
Notifications
You must be signed in to change notification settings - Fork 10
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
Possible to work in lib mode? #18
Comments
Hi Ivan! Haven't tried with Library Mode, but I think that only affects
As long as you are importing your library and visiting the local Vite dev server in your browser, I'd expect it to work as usual. |
The thing is that I'm using a monorepo. One package builds some WASM that is symlinked to another package's However, recompiling the WASM won't trigger vite's file watcher as it's not looking inside the |
What configuration are you using for Also, is Vite detecting changes but not reloading the page, or is it not detecting changes at all? Finally, are the modified files being imported in a file processed by Vite? |
Nothing specific, but the modified files aren't being imported in a file processed by vite. I think I'll need to look for another approach. |
Like the title says, I've tried using this in lib mode, however it doesn't trigger a reload like it does in normal mode.
Is this possible to do?
The text was updated successfully, but these errors were encountered: