File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ class Server {
538
538
} ) ;
539
539
}
540
540
541
- static runBonjour ( options ) {
541
+ runBonjour ( options ) {
542
542
const bonjour = require ( 'bonjour' ) ( ) ;
543
543
const os = require ( 'os' ) ;
544
544
const { https, port } = options ;
@@ -558,7 +558,7 @@ class Server {
558
558
} ) ;
559
559
}
560
560
561
- runOpen ( uri , options ) {
561
+ openBrowser ( uri , options ) {
562
562
const isAbsoluteUrl = require ( 'is-absolute-url' ) ;
563
563
const open = require ( 'open' ) ;
564
564
@@ -766,7 +766,7 @@ class Server {
766
766
if ( this . options . open ) {
767
767
const openTarget = prettyPrintUrl ( this . options . host || 'localhost' ) ;
768
768
769
- this . runOpen ( openTarget , this . options . open ) ;
769
+ this . openBrowser ( openTarget , this . options . open ) ;
770
770
}
771
771
}
772
772
@@ -825,7 +825,7 @@ class Server {
825
825
}
826
826
827
827
if ( this . options . bonjour ) {
828
- Server . runBonjour ( this . options ) ;
828
+ this . runBonjour ( this . options ) ;
829
829
}
830
830
831
831
this . logStatus ( ) ;
You can’t perform that action at this time.
0 commit comments