mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-20 23:28:42 -05:00
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:
+1
-3
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user