I remember finding a really good one a few weeks ago but can't remember what it was called. My googlefu is failing me. Does anyone have any recommendations??
评论:
mr-bosley:
b4ph0m37:This is what I use. Works well.. https://github.com/codegangsta/gin
hjkelly87:I'm just getting started with Go and was looking for a similar tool the other day. Settled on this one: https://github.com/githubnemo/CompileDaemon
It's really basic with not a lot of bells and whistles but it does what I need at the moment without being overwhelming.
ChristophBerger:This is the only one that made sense to me quickly and helped me get my vanilla Go recompiling in a VM quickly.
spencercdixon:Was it maybe
realize
:https://www.reddit.com/r/golang/comments/76zg1l/realize_15_manage_your_golang_workflow_with_ease/
and
SupersonicSpitfire:Thank you!!! Realize was what I was looking for. Much appreciated
The best option for Linux is inotify, but this has an upper limit of the number of files that can be watched. This limit is quickly reached on macOS (I believe it is as low as 256). On Windows, there is no equivalent to inotify, as far as I know. The alternative to these is to loop through all the files "manually" and check if they changed since last time.
