Package com.intellij.javascript.karma.execution

Examples of com.intellij.javascript.karma.execution.KarmaRunSettings


    myHandlers.put(handler.getEventType(), handler);
  }

  private KillableColoredProcessHandler startServer(@NotNull KarmaServerSettings serverSettings) throws IOException {
    GeneralCommandLine commandLine = new GeneralCommandLine();
    KarmaRunSettings runSettings = serverSettings.getRunSettings();
    commandLine.setPassParentEnvironment(runSettings.isPassParentEnvVars());
    commandLine.getEnvironment().putAll(runSettings.getEnvVars());
    commandLine.setWorkDirectory(serverSettings.getConfigurationFile().getParentFile());
    commandLine.setExePath(serverSettings.getNodeInterpreterPath());
    File serverFile = myKarmaJsSourcesLocator.getServerAppFile();
    //commandLine.addParameter("--debug-brk=34598");
    commandLine.addParameter(serverFile.getAbsolutePath());
View Full Code Here

TOP

Related Classes of com.intellij.javascript.karma.execution.KarmaRunSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.