You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using vite-node directly and while sourcemaps appear to be generated correctly, and error line numbers are correct for an initial execution, after HMR and clearing the module from the cache, line numbers are no longer correct. While the file is being updated and the new code is executing, it seems like the original sourcemap is somehow sticking around?
Is there another method that must be called to make sure the new sourcemap is respected?
Describe the bug
I am using vite-node directly and while sourcemaps appear to be generated correctly, and error line numbers are correct for an initial execution, after HMR and clearing the module from the cache, line numbers are no longer correct. While the file is being updated and the new code is executing, it seems like the original sourcemap is somehow sticking around?
Is there another method that must be called to make sure the new sourcemap is respected?
Reproduction
https://stackblitz.com/~/github.com/dmno-dev/vite-node-sourcemap-issue
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: