Félix Saparelli
608aa516b1
Add source to internal event
2021-09-03 07:57:45 +12:00
Félix Saparelli
8e4994abca
Add process supervisor to watch command to completion
...
Also change the concept of a completion handler to instead sending a
synthetic "process completed" event down the same path as usual.
That makes handling completion the job of the action handler, but also
means it's immediately possible to launch a process or do an action in
response to the process completing. Win win!
2021-09-03 05:22:15 +12:00
Félix Saparelli
33fb691d29
Add method to insert events into watchexec manually
2021-08-24 22:20:44 +12:00
Félix Saparelli
931648a955
Add signals() convenience iter on Event
2021-08-23 02:35:03 +12:00
Félix Saparelli
613fe24c64
Add paths() convenience iter on Event
2021-08-22 22:06:12 +12:00
Félix Saparelli
5d11ccaa71
Add a bit more structure via documentation
2021-08-19 20:44:02 +12:00
Félix Saparelli
cae00070fb
Remove chrono dep
2021-08-18 18:54:05 +12:00
Félix Saparelli
0237a568df
Handle signals into events
2021-08-17 21:41:13 +12:00
Félix Saparelli
822148da03
Canonicalise paths + add example
2021-08-17 01:15:17 +12:00
Félix Saparelli
f08bdad8ee
Use local datetime on events instead of naive
2021-08-16 21:52:13 +12:00
Félix Saparelli
b15615bbaa
Start on watchexec v2
2021-08-16 21:49:12 +12:00