mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Add Imfs to ServeSession, threading through generic ImfsFetcher
This commit is contained in:
parent
651e63a0fb
commit
8481caa67c
5 changed files with 37 additions and 29 deletions
|
|
@ -70,7 +70,7 @@ pub fn serve(options: &ServeOptions) -> Result<(), ServeError> {
|
|||
let patch_set = compute_patch_set(&snapshot, &tree, root_id);
|
||||
apply_patch_set(&mut tree, &patch_set);
|
||||
|
||||
let session = Arc::new(ServeSession::new(tree, maybe_project));
|
||||
let session = Arc::new(ServeSession::new(imfs, tree, maybe_project));
|
||||
let server = LiveServer::new(session);
|
||||
|
||||
server.start(port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue