-
Notifications
You must be signed in to change notification settings - Fork 64
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
Feature: Live reload #76
Comments
So far, does jiti support watch mode? |
@pi0 Looking forward, I will try |
This repository does not have discussions enabled, and it's not exactly an issue, more of a question / follow-up on the --watch flag usage when it comes to a Discord bot development. I'm in the process of modernizing the tools and I immediately thought of @pi0 you mentioned that we can use Another solution would be to simply use bun with the watch flag also. I'm curious what's your opinion on what's the best tool for this |
@noook If your app is a HTTP server, you can use listhen that uses jiti and does this. If it is not, you can easily create a watcher with I like to introduce a similar feature of the bun to jiti core for live reload but it is mainly less of a priority now and the next goal is v2 (#174) so maybe after that in 2.x 👍🏼 |
I've found https://github.com/pygy/esm-reload works pretty well, too. |
|
Hi, Great Job!
It would be nice if jiti can watch current project and live reload it when some file changes.
The text was updated successfully, but these errors were encountered: