mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Load user plugins on startup instead of lazily at snapshot time
This commit is contained in:
parent
d1887c6cd3
commit
7077f0f1f3
3 changed files with 37 additions and 62 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue