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

Rollup --watch broken with @rollup/plugins-typescript #57

Open
MingweiSamuel opened this issue Jul 23, 2021 · 3 comments
Open

Rollup --watch broken with @rollup/plugins-typescript #57

MingweiSamuel opened this issue Jul 23, 2021 · 3 comments

Comments

@MingweiSamuel
Copy link
Contributor

This is the same as #38 but the issue is not fixed.

When rollup-plugin-web-worker-loader is combined with @rollup/plugins-typescript files no longer update after the first build when in --watch mode.

Workaround is to use rollup-plugin-typescript2 instead of @rollup/plugins-typescript
See: #38 (comment)

Here is my minimal repro: https://github.com/MingweiSamuel/rollup-typescript-webworkers

@MingweiSamuel
Copy link
Contributor Author

MingweiSamuel commented Jul 23, 2021

pr #58 so people can figure out what the heck is going on faster

@hughrawlinson
Copy link
Collaborator

It looks like the issue in @rollup/plugins-typescript is maybe fixed now - is it worth trying it again and seeing if using it is fine now?

@MingweiSamuel
Copy link
Contributor Author

MingweiSamuel commented Jul 31, 2021

Updated the repro to latest @rollup/plugins-typescript, bug is still there

(I ended up not using rollup-plugin-web-worker-loader for my project and instead made a separate rollup config for the worker's javascript bundle)

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

2 participants