From 4cc82256a996cc0a1b1e3be38b25f173c6db76f5 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 16 Jan 2017 12:34:40 -0800 Subject: [PATCH] Fix 'lime rebuild' with '-D' --- tools/CommandLineTools.hx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index bbcc976bc..ceefd3b3d 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -381,7 +381,9 @@ class CommandLineTools { project.config.set ("project.rebuild.path", rebuildPath); project.config.set ("project.rebuild.file", rebuildFile); - initializeProject (project, targetName); + // TODO: Fix use of initialize without resetting reference? + + project = initializeProject (project, targetName); buildProject (project); if (LogHelper.verbose) {