Skip to content

add watchers to imports within vue files #397

@cs-mvo

Description

@cs-mvo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2-nice-to-have 🍰Not breaking anything but nice to have (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy