From cac79f90ca27ef0def9306f076cb2cffb49b0984 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 25 Sep 2017 16:47:32 -0700 Subject: [PATCH] Fix file locking in -rebuild --- tools/CommandLineTools.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index 09ec728cd..65d56d3ae 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -470,9 +470,12 @@ class CommandLineTools { } + for (arg in args) { - if (arg == "-nocffi") { + // TODO: Allow -rebuild without locking native binary? + + if (arg == "-nocffi" || arg == "-rebuild") { CFFI.enabled = false;