mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Comment out roblox_studio mechanisms for now, start using env_logger
This commit is contained in:
parent
a69cbf45df
commit
dbad0a16c4
9 changed files with 77 additions and 16 deletions
|
|
@ -71,7 +71,7 @@ impl Session {
|
|||
}
|
||||
|
||||
for root in vfs.get_roots() {
|
||||
println!("Watching {}", root.display());
|
||||
info!("Watching {}", root.display());
|
||||
|
||||
let (watch_tx, watch_rx) = mpsc::channel();
|
||||
|
||||
|
|
@ -83,7 +83,6 @@ impl Session {
|
|||
let vfs = Arc::clone(&self.vfs);
|
||||
|
||||
thread::spawn(move || {
|
||||
println!("Thread started");
|
||||
loop {
|
||||
match watch_rx.recv() {
|
||||
Ok(event) => {
|
||||
|
|
@ -107,7 +106,7 @@ impl Session {
|
|||
Err(_) => break,
|
||||
};
|
||||
}
|
||||
println!("Thread stopped");
|
||||
info!("Watcher thread stopped");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue