fix core-app starting

core-app changes the cwd, which messes up the root monorepo tasks, so it needs to be required lazily
This commit is contained in:
Chris Breiding
2016-10-17 11:07:29 -04:00
parent 3336e45038
commit 2eae9d354d
+1 -3
View File
@@ -7,8 +7,6 @@ minimist = require("minimist")
runAll = require("@cypress/npm-run-all")
through = require("through")
coreApp = require("packages/core-app")
globAsync = Promise.promisify(glob)
DEFAULT_DIR = path.resolve("packages", "*")
@@ -73,7 +71,7 @@ module.exports = {
@exec(e)
else
coreApp.start()
require("packages/core-app").start()
}