scriptsOnly mode

This commit is contained in:
Joe 2025-12-20 20:44:35 -06:00
parent 6d8c85682d
commit 88beb1d8d7
3 changed files with 225 additions and 8 deletions

View file

@ -221,6 +221,12 @@ impl ServeSession {
pub fn root_project(&self) -> &Project {
&self.root_project
}
/// Returns whether sync should only include script instances.
/// When enabled, only Script, LocalScript, and ModuleScript are synced.
pub fn sync_scripts_only(&self) -> bool {
self.root_project.sync_scripts_only.unwrap_or(false)
}
}
#[derive(Debug, Error)]