-
Notifications
You must be signed in to change notification settings - Fork 71
watch doesn't update TS files when check: false or within Vue files #433
Copy link
Copy link
Open
Labels
kind: bugSomething isn't working properlySomething isn't working properlyproblem: removed issue templateOP removed the issue template without good causeOP removed the issue template without good causescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)scope: vueRelated to integration with Vue (rollup-plugin-vue is long archived), not coreRelated to integration with Vue (rollup-plugin-vue is long archived), not corescope: watch modeRelated to Rollup's watch modeRelated to Rollup's watch modesolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue
Description
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't working properlySomething isn't working properlyproblem: removed issue templateOP removed the issue template without good causeOP removed the issue template without good causescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)scope: vueRelated to integration with Vue (rollup-plugin-vue is long archived), not coreRelated to integration with Vue (rollup-plugin-vue is long archived), not corescope: watch modeRelated to Rollup's watch modeRelated to Rollup's watch modesolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue
What happens and why it is incorrect
When running
rollup.watch(programmatically) only the first build goes well. All the following builds result in the same output for .ts files. I've added a .js file and only that .js file gets changes on every re-build. None of the .ts files get an update after re-build.Same for .vue files. When using
<script setup lang="ts">- it doesn't get updates after re-builds. When using<script setup>- works fine. But I guess there is a single cause for both.Yes I pass
clean: trueoption.Environment
WSL 2
Versions
rollup-plugin-typescript2 v0.34.1
:rollup.config.jsplugin output with verbosity 3
: