Skip to content
New issue

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

HMR only works after the application web page is reloaded #102

Open
PurpleTape opened this issue Nov 24, 2023 · 2 comments
Open

HMR only works after the application web page is reloaded #102

PurpleTape opened this issue Nov 24, 2023 · 2 comments

Comments

@PurpleTape
Copy link

Hello!
I'm trying to make a telegram bot with NestJS + grammY.

However, during the development process, I came across that the HMR functionality does not work until I reload the web development link (such as http://localhost:5173/). That is, the new code is not applied until I manually reload the web development link.

Thus, during the development process after editing the code, I need to reload the web development link in the browser every time, and only after that the updated version of the code will be applied in the telegram bot.

What settings can I apply so that HRM is applied automatically, without having to reload the web development link?
Thanks!

@shubhuchoubey
Copy link

Hey I am facing the same issue, did you manage to resolve this?

@PurpleTape
Copy link
Author

@shubhuchoubey, right now I'm just reloading the web development page to apply the changes to the code....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants