5 ms·
I did one using golang too. https://github.com/shenfeng/http-watcher https://github.com/shenfeng/http-watcher It monitors a directory for change (using notify
by fshen 13y ago
I did one using golang too. https://github.com/shenfeng/http-watcher https://github.com/shenfeng/http-watcher
It monitors a directory for change (using notify facility provided by the OS), upon change, will execute a given command given by command line arg `-command`. If any browser connected, it will try to refresh the browser too.