We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
lime run
1 parent 3036195 commit 80993dfCopy full SHA for 80993df
1 file changed
project.hxp
@@ -1470,8 +1470,8 @@ class Project extends HXProject
1470
1471
function clearAssets():Void
1472
{
1473
- // We don't want the haxe compilation server deleting our assets, do we?
1474
- if (isDisplay()) return;
+ // Don't run on non-build commands.
+ if (!isBuild()) return;
1475
1476
var exportPath:Null<String> = app.path ?? "";
1477
@@ -1739,6 +1739,11 @@ class Project extends HXProject
1739
return this.command == "clean";
1740
}
1741
1742
+ public function isBuild():Bool
1743
+ {
1744
+ return this.command == "test" || this.command == "build";
1745
+ }
1746
+
1747
public function isDebug():Bool
1748
1749
return this.debug;
0 commit comments