Log compiled instructions in config_watcher

This commit is contained in:
Tony Garnock-Jones 2022-01-15 23:23:48 +01:00
parent 11894ecb70
commit a37a2739a0
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ fn process_existing_file(
.collect::<Result<Vec<_>, _>>()?;
match script::Parser::new(&tokens).parse_top("config") {
Ok(Some(i)) => Ok(Some(t.facet(|t| {
tracing::debug!("Instructions for file {:?}: {:#?}", &env.path, &i);
env.safe_eval(t, &i);
Ok(())
}).expect("Successful facet startup"))),