Skip to content

Commit 6630338

Browse files
committed
fix load
1 parent 1422bc0 commit 6630338

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ qx.Class.define("qxl.demobrowser.compile.LibraryApi", {
44
members: {
55
async load() {
66
let command = this.getCompilerApi().getCommand();
7-
command.addListener("writtenApplication", (e) => this.__appCompiling(e.getData()));
7+
if (command instanceof qx.tool.cli.commands.Compile) {
8+
command.addListener("writtenApplication", (e) => this.__appCompiling(e.getData()));
9+
}
810
},
911

1012
__appCompiling(application) {

0 commit comments

Comments
 (0)