4 ms·
In this case, the best tool for the job is the one that will let you: 1. Continue to easily iterate on the solution now and in the future (compiled languages h
by rollcat 2y ago
In this case, the best tool for the job is the one that will let you:
1. Continue to easily iterate on the solution now and in the future (compiled languages have a built-in hinderance, in that you never know when a given binary corresponds to some state of the source tree)
2. Allow you to trivially talk to inotify/ReadDirectoryChangesW /FSEvents/kqueue/etc so that you only need to read the file when it actually changes
3. Minimise maintenance (installing third-party headers/libraries, setting up a project, etc etc)
I think the answer here is the shell, fswatch, and jq.
https://github.com/emcrisostomo/fswatch https://github.com/emcrisostomo/fswatch https://github.com/jqlang/jq https://github.com/jqlang/jq http://man.openbsd.org/sh http://man.openbsd.org/sh