diff --git a/js-class-loader/src/main/java/jsclassloader/cli/CommandLineRunner.java b/js-class-loader/src/main/java/jsclassloader/cli/CommandLineRunner.java index 580a546..93c289f 100644 --- a/js-class-loader/src/main/java/jsclassloader/cli/CommandLineRunner.java +++ b/js-class-loader/src/main/java/jsclassloader/cli/CommandLineRunner.java @@ -50,6 +50,9 @@ public CommandLineRunner(String [] args, PrintStream out) throws Exception { watcher.processEvents(); } + else { + graphUpdated(); + } } } @@ -109,7 +112,7 @@ public void graphUpdated() { try { long startTime = System.currentTimeMillis(); generate(); - System.out.println("Generated new bundle in " + (System.currentTimeMillis() - startTime)); + System.out.println("Generated new bundle in " + (System.currentTimeMillis() - startTime) + "ms"); System.out.println( bundler.getBundleSize() + " bytes, " + bundler.getLineNumber() + " lines, " +