LiveServer.jl icon indicating copy to clipboard operation
LiveServer.jl copied to clipboard

I made BetterFileWatching.jl and maybe it's useful?

Open fonsp opened this issue 3 years ago • 3 comments

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.

fonsp avatar Jun 01 '21 10:06 fonsp

what are the potential advantages?

tlienart avatar Jun 01 '21 20:06 tlienart

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.

fonsp avatar Jun 02 '21 08:06 fonsp

Alright, I need to look a bit at the package and see how the switch would happen. Thanks Fons!

tlienart avatar Jun 02 '21 14:06 tlienart