k-bx
March 11, 2019, 5:59pm
1
Hi. I’ve made a small utility that’s handy to automatically restart your app once its executable changed: https://github.com/k-bx/trigger
It’s in “alpha” stage, but should be good enough to get some feedback and maybe gather alternatives that I couldn’t find.
Thanks!
4 Likes
wizzup
March 11, 2019, 10:28pm
2
Looking good for a specific usecase. Your target is watching only single executable file right?
I use steel overseer for similar job but I have to write wrapper script to kill and respawn the target myself.
You might want to looking for the same file pattern matching to extends usage spectrum of your tool (in case you want to do).
1 Like
k-bx
March 12, 2019, 6:15am
3
Currently (and default behavior) yes, but next step is to replace this script also (plus making it cross platform) https://gitlab.com/k-bx/meetup/blob/master/run-dev.sh
k-bx
March 12, 2019, 6:30am
4
Thinking about using DHall to describe a matching function btw
That’s awesome – I like the idea of using DHall, but the current zero-configuration style is also very nice, it just does what it’s supposed to do.
1 Like
There already exist one trigger
for restart workflows:
I wonder, how it compares
1 Like
k-bx
March 13, 2019, 7:19am
7
Nice! Still want to make the DHall configuration (started checking it out), plus I like the default behavior of my app (point to executable, zero-config).
1 Like
I wish stack would do this also with --file-watch