When I use an
*.hxml file that contains more than one target, like so:
-cp src -D analyzer-optimize -main Main -dce full -cmd start "" "C:\Program Files\Mozilla Firefox\firefox.exe" "http://localhost/index.php" --each -js bin/Commerce.js --next -lib easylog -php bin
the vshaxe extension doesn’t seem to acknowledge the second target at all.
In this case, the php target doesn’t get compiled, and errors in my php-targeted haxe source code don’t get picked up; i.e., the -cmd gets executed anyway, as if all compilations were successful.
Also, the php-targeted source code is dimmed.
If I swap the js and php targets around, then only the php target gets compiled, and the js target is completely ignored, and dimmed.
Is this as expected?
The HaxeDevelop IDE does this correctly, i.e. it will compile the targets, and will un-dim them.
But I don’t want to use HaxeDevelop, I want to use vshaxe on VS Code…
How to correct this behaviour?
Many thanks in advance