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

add watchers to imports within vue files #397

Open
5 of 6 tasks
cs-mvo opened this issue Apr 24, 2024 · 0 comments
Open
5 of 6 tasks

add watchers to imports within vue files #397

cs-mvo opened this issue Apr 24, 2024 · 0 comments

Comments

@cs-mvo
Copy link

cs-mvo commented Apr 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant