Skip to content

Commit

Permalink
fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Oct 2, 2021
1 parent 241b096 commit a120c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/lib/project-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export class ProjectBase<TServer extends ServerE2E | ServerCt> extends EE {
projectRoot,
}: {
onSettingsChanged?: false | (() => void)
configFile?: string | boolean
configFile?: string | false
projectRoot: string
}) {
// bail if we havent been told to
Expand Down Expand Up @@ -575,7 +575,7 @@ export class ProjectBase<TServer extends ServerE2E | ServerCt> extends EE {
}

if (configFile !== false) {
this.watchers.watchTree(settings.pathToConfigFile({ configFile }), obj)
this.watchers.watchTree(settings.pathToConfigFile(projectRoot, { configFile }), obj)
}

return this.watchers.watch(settings.pathToCypressEnvJson(projectRoot), obj)
Expand Down

0 comments on commit a120c2c

Please sign in to comment.