We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
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
after change dumped code in .vite-node/dump, and re-run vite-node, you can see that some file changes take effect and some do not.
.vite-node/dump
vite-node
Here is a repo to reproduce: https://github.com/await-ovo/reproduce-vite-node-load-dumpped-modules-issue
steps to reproduce:
git clone git@github.com:await-ovo/reproduce-vite-node-load-dumpped-modules-issue.git
cd reproduce-vite-node-load-dumpped-modules-issue
pnpm install
node ./index.mjs
.vite-node/dump/_@fs_xxxxx_reproduce-vite-node-load-dumpped-modules-issue_src_index_tsx--xxxxx.js
.vite-node/dump/_src_App_tsx--xxxx.js
System: OS: macOS 11.6.8 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 2.21 GB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node Yarn: 1.22.19 - ~/Library/pnpm/yarn npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm Browsers: Chrome: 105.0.5195.125 Safari: 15.6.1 npmPackages: vite: ^3.1.4 => 3.1.0 vitest: workspace:* => 0.24.0
pnpm
The text was updated successfully, but these errors were encountered:
fix(vite-node): init the debugger ahead of time to ensure that load d…
d0c0998
…umped code work as expected (fix #2126) (#2127)
Successfully merging a pull request may close this issue.
Describe the bug
after change dumped code in
.vite-node/dump
, and re-runvite-node
, you can see that some file changes take effect and some do not.Reproduction
Here is a repo to reproduce: https://github.com/await-ovo/reproduce-vite-node-load-dumpped-modules-issue
steps to reproduce:
Steps to Reproduce
git clone git@github.com:await-ovo/reproduce-vite-node-load-dumpped-modules-issue.git
cd reproduce-vite-node-load-dumpped-modules-issue
pnpm install
node ./index.mjs
.vite-node/dump/_@fs_xxxxx_reproduce-vite-node-load-dumpped-modules-issue_src_index_tsx--xxxxx.js
:.vite-node/dump/_src_App_tsx--xxxx.js
:node ./index.mjs
then you can see that only the change of.vite-node/dump/_src_App_tsx--xxxx.js
take effect:System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: