Hacker News new | ask | show | jobs
by fshen 4562 days ago
I did one using golang too. 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.