mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 09:08:37 +01:00
11 lines
198 B
Rust
11 lines
198 B
Rust
use std::io::{stdin, Result};
|
|
use watchexec_events::Event;
|
|
|
|
fn main() -> Result<()> {
|
|
for line in stdin().lines() {
|
|
let event: Event = serde_json::from_str(&line?)?;
|
|
dbg!(event);
|
|
}
|
|
|
|
Ok(())
|
|
}
|