mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Add plugin half of script-only, existing-instance-only, two way sync
This commit is contained in:
parent
e83437c193
commit
cfff08cdfd
4 changed files with 95 additions and 3 deletions
|
|
@ -25,6 +25,14 @@ local VALUES = {
|
|||
[Environment.Test] = true,
|
||||
},
|
||||
},
|
||||
ExperimentalTwoWaySync = {
|
||||
type = "BoolValue",
|
||||
values = {
|
||||
[Environment.User] = false,
|
||||
[Environment.Dev] = false,
|
||||
[Environment.Test] = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
local CONTAINER_NAME = "RojoDevSettings" .. Config.codename
|
||||
|
|
@ -132,6 +140,10 @@ function DevSettings:shouldTypecheck()
|
|||
return getValue("TypecheckingEnabled")
|
||||
end
|
||||
|
||||
function DevSettings:twoWaySyncEnabled()
|
||||
return getValue("ExperimentalTwoWaySync")
|
||||
end
|
||||
|
||||
function _G.ROJO_DEV_CREATE()
|
||||
DevSettings:createDevSettings()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue