Skip to content

Commit a170f45

Browse files
committed
jooby:run fails when eclipse is present fix #358
1 parent b78afed commit a170f45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jooby-maven-plugin/src/main/java/org/jooby/JoobyMojo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ public void execute() throws MojoExecutionException, MojoFailureException {
197197
*/
198198
Runtime.getRuntime().addShutdownHook(shutdownHook);
199199

200-
watcher.start();
200+
if (watcher != null) {
201+
watcher.start();
202+
}
201203

202204
/**
203205
* Start process

0 commit comments

Comments
 (0)