mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
scriptsOnly mode
This commit is contained in:
parent
6d8c85682d
commit
88beb1d8d7
3 changed files with 225 additions and 8 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue