mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Move web server onto main thread
This commit is contained in:
parent
6472a2cbce
commit
f90c51e923
2 changed files with 69 additions and 75 deletions
|
|
@ -196,13 +196,9 @@ fn main() {
|
|||
});
|
||||
}
|
||||
|
||||
web::start(config.clone(), project.clone(), vfs.clone());
|
||||
|
||||
println!("Server listening on port {}", port);
|
||||
|
||||
loop {
|
||||
thread::park();
|
||||
}
|
||||
web::start(config.clone(), project.clone(), vfs.clone());
|
||||
},
|
||||
("pack", _) => {
|
||||
eprintln!("'rojo pack' is not yet implemented!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue