Closed
Description
Related plugins
Description
The watcher should rebuild vue files when the file's imports are updated. Without this, the rollup build doesn't rebuild when you update .ts and .scss/sass files that are in your build. This was fixed in vuejs/rollup-plugin-vue
Suggested solution
In plugin-vue/src/index.ts line 291, add this code snippet
if (query.src) {
this.addWatchFile(filename);
}
Alternative
No response
Additional context
Original Issues: vuejs/rollup-plugin-vue#396
Original Fixes: vuejs/rollup-plugin-vue#385
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.