From bf9be6ccae25f2994a88742b1661e094b2480ad1 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Fri, 1 Dec 2017 15:18:36 -0800 Subject: [PATCH] Fix reconciler with init files, v0.2.2 --- CHANGES.md | 4 ++++ plugin/src/Config.lua | 2 +- plugin/src/Reconciler.lua | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 999e88a48..44af3d5af 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/plugin/src/Config.lua b/plugin/src/Config.lua index ef63ca62f..10ff8824c 100644 --- a/plugin/src/Config.lua +++ b/plugin/src/Config.lua @@ -1,4 +1,4 @@ return { pollingRate = 0.3, - version = "0.2.1", + version = "0.2.2", } diff --git a/plugin/src/Reconciler.lua b/plugin/src/Reconciler.lua index 26fa0522f..1aa97a6f3 100644 --- a/plugin/src/Reconciler.lua +++ b/plugin/src/Reconciler.lua @@ -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