Replies: 2 comments 4 replies
-
We will add a builtin watch API Haven't gotten to it yet |
Beta Was this translation helpful? Give feedback.
0 replies
-
@vjpr @Jarred-Sumner Looks like it is done now? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
File watching is very common.
For node.js,
chokidar
is the most popular.There is also Facebook's
watchman
which runs a daemon that ensures at most one callback is setup per directory. It is used by default if available in Jest.Would be nice to have a good reliable api for file watching. There are a lot of issues with
fs.watch
.It would be really nice to have an implementation that could work well with a persistent watcher (like
watchman
does).Related
fs.watch
is not implemented yet: #832Beta Was this translation helpful? Give feedback.
All reactions