diff --git a/tools/idea/src/main/java/org/teavm/idea/devserver/DevServerRunner.java b/tools/idea/src/main/java/org/teavm/idea/devserver/DevServerRunner.java index 887dcc563..bb22f9b6f 100644 --- a/tools/idea/src/main/java/org/teavm/idea/devserver/DevServerRunner.java +++ b/tools/idea/src/main/java/org/teavm/idea/devserver/DevServerRunner.java @@ -149,6 +149,7 @@ public class DevServerRunner extends UnicastRemoteObject implements DevServerMan } } server.setClassPath(classPath.toArray(new String[0])); + server.setCompileOnStartup(true); DevServerRunner daemon = new DevServerRunner(server); System.out.println(PORT_MESSAGE_PREFIX + daemon.port);