We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm wanting to use HMR with vite-node. It seems as it not currently implemented/exposed.
vite-node
import.meta.hot currently returns undefined
import.meta.hot
undefined
Console log out import.meta.hot see it's undefined. Unable to hook on to HMR
System: OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa) CPU: (6) x64 Intel(R) Core(TM) i5-8400T CPU @ 1.70GHz Memory: 668.59 MB / 7.64 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node Yarn: 1.22.10 - ~/.nvm/versions/node/v14.17.0/bin/yarn npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm npmPackages: vite: ^2.7.9 => 2.7.9
yarn
The text was updated successfully, but these errors were encountered:
We didn't reimplement this functionality in vite-node, but maybe oneday.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
I'm wanting to use HMR with
vite-node
. It seems as it not currently implemented/exposed.import.meta.hot
currently returnsundefined
Reproduction
Console log out
import.meta.hot
see it's undefined. Unable to hook on to HMRSystem Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: