-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When using the plugin the watch mode is broken. My webworker is written with ts.
My config looks like this:
resolve(),
workerLoader({inline: false, sourcemap: false}),
typescript({
sourceMap: true,
exclude: ['node_modules', '**/*.test.ts'],
}),
The watch mode executes the build, but the files generated are the same as before.
The workaround currently used is this:
npm run clean && rollup -c && chokidar 'src/**/*.*' -c 'rollup -c'
But the builds are only half as fast as with rollup watchmode enabled.
My repository is this:
https://github.com/Waxolunist/paint2
To reproduce start the watchmode and the devserver:
`npm bin`/rollup -cw
npm run serve
When changing a file (e.g. changing the html in paint-app.ts) the changes are not written to the bundle directory.
Commenting out the workerLoader plugin in rollup.config.js changes are picked up immediately, so I assume the workerLoader plugin is something doing to the cache.
MingweiSamuel
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working