File tree 1 file changed +7
-1
lines changed
packages/angular_devkit/build_angular/src/protractor 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ import {
14
14
import { JsonObject , tags } from '@angular-devkit/core' ;
15
15
import { resolve } from 'path' ;
16
16
import * as url from 'url' ;
17
+ import { DevServerBuilderOptions } from '../dev-server/index' ;
17
18
import { runModuleAsObservableFork } from '../utils' ;
18
19
import { Schema as ProtractorBuilderOptions } from './schema' ;
19
20
21
+
20
22
interface JasmineNodeOpts {
21
23
jasmineNodeOpts : {
22
24
grep ?: string ;
@@ -105,7 +107,11 @@ export async function execute(
105
107
const target = targetFromTargetString ( options . devServerTarget ) ;
106
108
const serverOptions = await context . getTargetOptions ( target ) ;
107
109
108
- const overrides : Record < string , string | number | boolean > = { watch : false } ;
110
+ const overrides = {
111
+ watch : false ,
112
+ liveReload : false ,
113
+ } as DevServerBuilderOptions ;
114
+
109
115
if ( options . host !== undefined ) {
110
116
overrides . host = options . host ;
111
117
} else if ( typeof serverOptions . host === 'string' ) {
You can’t perform that action at this time.
0 commit comments