Skip to content

Commit

Permalink
chore: enable runner to be rebuild with general watcher (#21664)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
  • Loading branch information
AtofStryker and mjhenkes authored Jun 2, 2022
1 parent 013501c commit 9cdab56
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/gulp/gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion scripts/gulp/tasks/gulpWebpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
})
Expand Down

3 comments on commit 9cdab56

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 9cdab56 Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.2/linux-x64/develop-9cdab566d9c81ceea3654a215821ddf29d5a4b07/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 9cdab56 Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.2/darwin-x64/develop-9cdab566d9c81ceea3654a215821ddf29d5a4b07/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 9cdab56 Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.2/win32-x64/develop-9cdab566d9c81ceea3654a215821ddf29d5a4b07/cypress.tgz

Please sign in to comment.