@@ -81,13 +81,13 @@ func runClient(url string, args []string, runtime string, typescript bool) error
8181 } else {
8282 var cmdArgs []string
8383 if runtime == "bundler" {
84- cmdArgs = []string {"parcel" , "--watch-for-stdin" , "-p" , "5000 " , "src/index.html" }
84+ cmdArgs = []string {"parcel" , "--watch-for-stdin" , "-p" , "8080 " , "src/index.html" }
8585 } else {
86- cmdArgs = []string {"serve" , "-n" , "--no-port-switching" , "-p" , "5000 " , "." }
86+ cmdArgs = []string {"serve" , "-n" , "--no-port-switching" , "-p" , "8080 " , "." }
8787 }
8888
8989 done := make (chan struct {})
90- runWhenUP ("localhost:5000 " , func () {
90+ runWhenUP ("localhost:8080 " , func () {
9191 pflag .Usage = func () {
9292 fmt .Fprintf (os .Stdout , "Usage: %s [options] [command]\n \n " , os .Args [0 ])
9393 fmt .Fprintf (os .Stdout , "Options:\n " )
@@ -139,7 +139,7 @@ func runClient(url string, args []string, runtime string, typescript bool) error
139139 queryParams += "&protected=true"
140140 }
141141
142- cgExec .OpenBrowser (fmt .Sprintf ("http://localhost:5000 ?game_url=%s&op=%s%s" , url , op , queryParams ))
142+ cgExec .OpenBrowser (fmt .Sprintf ("http://localhost:8080 ?game_url=%s&op=%s%s" , url , op , queryParams ))
143143 }, done )
144144
145145 _ , err := cgExec .Execute (false , "npx" , cmdArgs ... )
0 commit comments