Hacker News new | ask | show | jobs
Show HN: Gaze – Rerun your scripts when files change (github.com)
2 points by wtetsu 1967 days ago
1 comments

Looks interesting, I like that it's packaged as a single binary so it's easier to install. The idea to have default behaviors for different extension types is also cool. I've used entr[1] in the past--did you have a look at that tool? There seems to be some trickiness with things like "-r" to work properly in as many cases as possible. I also had an issue where it was hard to run entr in a Docker container on Mac due to some inotify issues or something. You may need to watch out for that!

Thanks for sharing :)

[1]: http://eradman.com/entrproject/

Thank you for your comment and feedback!

Before I developed Gaze, I've tried some update-and-run type of tools including Entr, but I was not able to find tools that designed to be for quick coding. That’s the reason I developed Gaze that you can define each extension’s default behavior and invoke quickly just by typing “gaze a.py”. Gaze’s response time and parallel handling and flexible options should be great for the purpose!

Gaze also have a restart feature (-r) but I don’t know it’s same as Entr’s. I’ll look into it, thank you!