Open fonsp opened 3 years ago
what are the potential advantages?
It has recursive file watching built-in (you just provide the directory), so you won't need the custom implementation anymore.
If you were planning to improve and maintain the current system, then consider switching, if you are happy with how it currently works, then leave it as is.
Alright, I need to look a bit at the package and see how the switch would happen. Thanks Fons!
I made small package https://github.com/JuliaPluto/BetterFileWatching.jl which can recursively watch a directory for changes, including changes to file contents. It uses Deno (made available through BinaryBuilder) to access its
watchFs
standard lib, which is well-tested and widely used. A possible disadvantage is the ~30MB binary dependency of Deno.Maybe it's useful to LiveServer.jl, but if you are happy with the existing file watching system then it's probably not worth the switch.