-
Notifications
You must be signed in to change notification settings - Fork 70
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
empty build being generated when running vite build --watch
#6
Comments
Indeed |
Thank you :). if it's possible I'd like to help by contributing code, but I don't know if I'll be free before the weekend |
+1 for this! loving this package but supporting --watch would be perfect |
Any updates on this? Is there any way we could help? |
+1 |
@infix Can we please have an update on this? |
Is this issue dead? |
I want to help troubleshoot this but I'm not sure where to start. |
If I can help in any way please let me know. |
Hello, can you fix this as soon as possible, it would be very useful |
+1 Hey @StarkShang, it would be great if we can get any update on this. Thanks! |
Here is a workaround that seems to work using In my
And then I simply run |
Thanks, @i8ramin |
I am also interested in this |
I wasn't happy with the npm-watch solution. @StarkShang I think you are probably very busy or have moved on from this project, but maybe you could point where to where in the code you think I would need to adjust to support |
is there any update on this matter? |
Looking forward to this feature, when will it be supported? |
Explanation:
when running
vite build --watch
, it initially builds correctly. However, after the first change to generates an empty buildCodesandbox reproduction: https://codesandbox.io/s/vite-plugin-chrome-extension-watch-build-bug-py0nd?file=/src/main.tsx
Reproduction steps:
yarn start
(vite build --watch
) and check the/dist
directory. you'll notice that it's built correctly09
<div>Hello World</div>
inmain.tsx
to<div>Hello</div>
/dist
dir again you will notice that only 2 files are generated manifest.js and manifest.jsonBuild log:
Thank you for this great plugin, please let me know if there's anything I can do to help :)
The text was updated successfully, but these errors were encountered: