forked from rojo-rbx/rojo
Fix reconciler with init files, v0.2.2
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
## Current Master
|
||||
* *No changes*
|
||||
|
||||
## 0.2.2
|
||||
* Plugin only release
|
||||
* Fixed broken reconciliation behavior with `init` files
|
||||
|
||||
## 0.2.1
|
||||
* Plugin only release
|
||||
* Changes default port to 8000
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return {
|
||||
pollingRate = 0.3,
|
||||
version = "0.2.1",
|
||||
version = "0.2.2",
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ function Reconciler.reconcile(rbx, item, fileName, parent)
|
||||
for _, childRbx in ipairs(rbx:GetChildren()) do
|
||||
-- Child was deleted!
|
||||
if not visitedChildren[childRbx.Name] then
|
||||
Reconciler.reconcile(childRbx, nil, nil)
|
||||
childRbx:Destroy()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user