@@ -8,7 +8,6 @@ import open from './util/open';
8
8
import { createNotificationServer } from './dev-server/notification-server' ;
9
9
import { createHttpServer } from './dev-server/http-server' ;
10
10
import { createLiveReloadServer } from './dev-server/live-reload' ;
11
- import { createBonjourService } from './dev-server/bonjour' ;
12
11
import { ServeConfig , IONIC_LAB_URL } from './dev-server/serve-config' ;
13
12
import { findClosestOpenPorts } from './util/network' ;
14
13
@@ -47,7 +46,7 @@ export function serve(context: BuildContext) {
47
46
useServerLogs : useServerLogs ( context ) ,
48
47
useProxy : useProxy ( context ) ,
49
48
notifyOnConsoleLog : sendClientConsoleLogs ( context ) ,
50
- devapp : useBonjour ( context )
49
+ devapp : false
51
50
} ;
52
51
53
52
createNotificationServer ( config ) ;
@@ -57,7 +56,6 @@ export function serve(context: BuildContext) {
57
56
return watch ( context ) ;
58
57
} )
59
58
. then ( ( ) => {
60
- createBonjourService ( config ) ;
61
59
onReady ( config , context ) ;
62
60
return config ;
63
61
} , ( err : BuildError ) => {
@@ -143,10 +141,6 @@ function browserOption(context: BuildContext): string {
143
141
return getConfigValue ( context , '--browseroption' , '-o' , 'IONIC_BROWSEROPTION' , 'ionic_browseroption' , null ) ;
144
142
}
145
143
146
- function useBonjour ( context : BuildContext ) : boolean {
147
- return hasConfigValue ( context , '--devapp' , '-D' , 'devapp' , false ) ;
148
- }
149
-
150
144
function launchLab ( context : BuildContext ) : boolean {
151
145
return hasConfigValue ( context , '--lab' , '-l' , 'ionic_lab' , false ) ;
152
146
}
0 commit comments