Fix reconciler with init files, v0.2.2

This commit is contained in:
Lucien Greathouse
2017-12-01 15:18:36 -08:00
parent 974ebc33c2
commit bf9be6ccae
3 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -1,4 +1,4 @@
return {
pollingRate = 0.3,
version = "0.2.1",
version = "0.2.2",
}

View File

@@ -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