@@ -8,7 +8,6 @@ import open from './util/open';
88import { createNotificationServer } from './dev-server/notification-server' ;
99import { createHttpServer } from './dev-server/http-server' ;
1010import { createLiveReloadServer } from './dev-server/live-reload' ;
11- import { createBonjourService } from './dev-server/bonjour' ;
1211import { ServeConfig , IONIC_LAB_URL } from './dev-server/serve-config' ;
1312import { findClosestOpenPorts } from './util/network' ;
1413
@@ -47,7 +46,7 @@ export function serve(context: BuildContext) {
4746 useServerLogs : useServerLogs ( context ) ,
4847 useProxy : useProxy ( context ) ,
4948 notifyOnConsoleLog : sendClientConsoleLogs ( context ) ,
50- devapp : useBonjour ( context )
49+ devapp : false
5150 } ;
5251
5352 createNotificationServer ( config ) ;
@@ -57,7 +56,6 @@ export function serve(context: BuildContext) {
5756 return watch ( context ) ;
5857 } )
5958 . then ( ( ) => {
60- createBonjourService ( config ) ;
6159 onReady ( config , context ) ;
6260 return config ;
6361 } , ( err : BuildError ) => {
@@ -143,10 +141,6 @@ function browserOption(context: BuildContext): string {
143141 return getConfigValue ( context , '--browseroption' , '-o' , 'IONIC_BROWSEROPTION' , 'ionic_browseroption' , null ) ;
144142}
145143
146- function useBonjour ( context : BuildContext ) : boolean {
147- return hasConfigValue ( context , '--devapp' , '-D' , 'devapp' , false ) ;
148- }
149-
150144function launchLab ( context : BuildContext ) : boolean {
151145 return hasConfigValue ( context , '--lab' , '-l' , 'ionic_lab' , false ) ;
152146}
0 commit comments