mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Fiddle with reimplementing vfs to be in terms of paths; much simpler that before
This commit is contained in:
parent
a57a8e5951
commit
1896e97451
6 changed files with 255 additions and 4 deletions
|
|
@ -25,8 +25,13 @@ pub fn serve(fuzzy_project_location: &Path) {
|
|||
|
||||
roblox_studio::install_bundled_plugin().unwrap();
|
||||
|
||||
let session = Arc::new(Session::new(project));
|
||||
let server = Server::new(Arc::from(session));
|
||||
let session = Arc::new({
|
||||
let mut session = Session::new(project);
|
||||
session.start().unwrap();
|
||||
session
|
||||
});
|
||||
|
||||
let server = Server::new(Arc::clone(&session));
|
||||
|
||||
println!("Server listening on port 8000.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue