With an empty Main named Main.js.hx, and -js specified, no display modes seem to work:
class Main {
static function main() {}
}
> haxe -js main.js --display Main.js.hx@0@diagnostics
Error: Display file was not found in class path
Original issue: vshaxe/vshaxe#147