Add plugin bundling, sourced from target/plugin.rbxm

This commit is contained in:
Lucien Greathouse
2018-06-25 00:53:21 -07:00
parent 4138bb7ee1
commit 5a5da3240f
3 changed files with 58 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ use rand;
use project::Project;
use web::{self, WebConfig};
use session::Session;
use roblox_studio;
pub fn serve(project_dir: &PathBuf, override_port: Option<u64>) {
let server_id = rand::random::<u64>();
@@ -26,6 +27,8 @@ pub fn serve(project_dir: &PathBuf, override_port: Option<u64>) {
println!("Using project {:#?}", project);
roblox_studio::install_bundled_plugin();
let mut session = Session::new(project.clone());
session.start();