mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 21:25:16 +00:00
Load user plugins on startup instead of lazily at snapshot time
This commit is contained in:
@@ -41,8 +41,7 @@ pub fn start<F: VfsFetcher>(
|
||||
// If the project file defines no plugins, then there's no need to
|
||||
// initialize the snapshot plugin context.
|
||||
if !project.plugins.is_empty() {
|
||||
snapshot_context.plugin_context =
|
||||
Some(SnapshotPluginContext::new(project.plugins.clone()));
|
||||
snapshot_context.plugin_context = Some(SnapshotPluginContext::new(&project.plugins));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user