Skip to content

[TypeScript Plugin] script snapshot and version may be out of sync #166

@johnsoncodehk

Description

@johnsoncodehk

Regarding vuejs/language-tools#4297, although the issue was resolved by converting the Windows path, the root cause is that the script snapshot changes due to different file names (Vue language tools adds the file name to the virtual code), while the script version remains unchanged, causing the source map to not invalidate the cache.

In this case, we should only update the script snapshot when the script version changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions