Félix Saparelli
05afb141b6
Add InitConfig::builder() to be a little more idiomatic
...
Neat side effect: keeps rust-analyzer from complaining about unknown types
(because it doesn't expand the builder macro)!
2021-08-24 19:59:11 +12:00
Félix Saparelli
6cb3fc1c9a
Demo switching file watcher backends at runtime
2021-08-23 03:59:02 +12:00
Félix Saparelli
b42336cb74
Actually watch files in example
2021-08-23 03:11:58 +12:00
Félix Saparelli
5314d201a4
Expand print_out example into watchexec test case
2021-08-23 02:36:58 +12:00
Félix Saparelli
d7d549a4c8
Add convenience modifiers on RuntimeConfig ourselves
...
It's not exactly a builder, and this lets us flatten all the options at the
top level instead of requiring the user to dig deeper into the
action, fs, etc modules' WorkingData structs.
2021-08-22 22:05:09 +12:00
Félix Saparelli
6c3c06e39c
Stop using Builder for RuntimeConfig
2021-08-22 20:49:24 +12:00
Félix Saparelli
ce60be2ec9
Add print_out example
2021-08-22 02:53:31 +12:00
Félix Saparelli
319729582f
Split signal and fs examples
2021-08-19 20:31:29 +12:00
Félix Saparelli
0bb38f40a5
Start off on main interface
2021-08-19 01:12:50 +12:00
Félix Saparelli
0237a568df
Handle signals into events
2021-08-17 21:41:13 +12:00
Félix Saparelli
7053360187
Clarify fs worker usage
2021-08-17 01:37:01 +12:00
Félix Saparelli
822148da03
Canonicalise paths + add example
2021-08-17 01:15:17 +12:00