mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 22:19:46 -06:00
chore: enable runner to be rebuild with general watcher (#21664)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ import { makePathMap } from './utils/makePathMap'
|
||||
import { makePackage } from './tasks/gulpMakePackage'
|
||||
import { exitAfterAll } from './tasks/gulpRegistry'
|
||||
import { execSync } from 'child_process'
|
||||
import { webpackRunner } from './tasks/gulpWebpack'
|
||||
import { webpackRunner, webpackRunnerCT } from './tasks/gulpWebpack'
|
||||
import { e2eTestScaffold, e2eTestScaffoldWatch } from './tasks/gulpE2ETestScaffold'
|
||||
import dedent from 'dedent'
|
||||
|
||||
@@ -59,6 +59,7 @@ gulp.task(
|
||||
'dev:watch',
|
||||
gulp.parallel(
|
||||
webpackRunner,
|
||||
webpackRunnerCT,
|
||||
gulp.series(
|
||||
makePathMap,
|
||||
// Before dev, fetch the latest "remote" schema from the Cypress dashboard
|
||||
|
||||
@@ -7,9 +7,17 @@ import semver from 'semver'
|
||||
|
||||
type Env = typeof process.env
|
||||
|
||||
export function webpackRunner () {
|
||||
export function webpackRunnerCT () {
|
||||
return runWebpack({
|
||||
cwd: monorepoPaths.pkgRunnerCt,
|
||||
prefix: 'webpack:runner:ct',
|
||||
args: ['-w'],
|
||||
})
|
||||
}
|
||||
|
||||
export function webpackRunner () {
|
||||
return runWebpack({
|
||||
cwd: monorepoPaths.pkgRunner,
|
||||
prefix: 'webpack:runner',
|
||||
args: ['-w'],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user