Class DevLoop

java.lang.Object
io.helidon.build.devloop.mode.DevLoop

public class DevLoop extends Object
A development loop that manages application lifecycle based on events from a BuildLoop.
  • Constructor Details

    • DevLoop

      public DevLoop(Path rootDir, ProjectSupplier projectSupplier, boolean initialClean, boolean terminalMode, List<String> appJvmArgs, List<String> appArgs, DevLoopBuildConfig config)
      Create a dev loop.
      Parameters:
      rootDir - Project's root.
      projectSupplier - Project supplier.
      initialClean - Clean flag.
      terminalMode - true for terminal output.
      appJvmArgs - The application JVM arguments.
      appArgs - The application arguments.
      config - The build config.
  • Method Details

    • start

      public void start(int maxWaitInSeconds) throws Exception
      Start the dev loop.
      Parameters:
      maxWaitInSeconds - Max seconds to wait.
      Throws:
      Exception - If a problem is found.