mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 14:41:35 +02:00
Print PID in initialisation
This commit is contained in:
parent
18d2487ec3
commit
f4a8a9fc6a
@ -46,7 +46,7 @@ impl Watchexec {
|
|||||||
mut init: InitConfig,
|
mut init: InitConfig,
|
||||||
mut runtime: RuntimeConfig,
|
mut runtime: RuntimeConfig,
|
||||||
) -> Result<Arc<Self>, CriticalError> {
|
) -> Result<Arc<Self>, CriticalError> {
|
||||||
trace!(?init, ?runtime, "initialising");
|
debug!(?init, ?runtime, pid=%std::process::id(), "initialising");
|
||||||
|
|
||||||
let (fs_s, fs_r) = watch::channel(take(&mut runtime.fs));
|
let (fs_s, fs_r) = watch::channel(take(&mut runtime.fs));
|
||||||
let (ac_s, ac_r) = watch::channel(take(&mut runtime.action));
|
let (ac_s, ac_r) = watch::channel(take(&mut runtime.action));
|
||||||
|
Loading…
Reference in New Issue
Block a user