How to run command ionic serve with chrome

#1

Yesterday, i prepared and now have installed ionic on my laptop, justnow i have builded sample app used ionic framework and all is okkay, When i try to running on my browser (firefox) like type command ionic serve it’s work, my layout app was coming on firefox, but i want to run it on my chrome browser, what must i do? my default browser is chrome i mean, because when i clicked and next chrome browser have appears. help me to solve it, thank’s for advance.

./ creatorb

#2

Hi
To change default browser for “ionic serve” find “serve.js” file from node modules ionic library and change this:
line 175
open( self.host(self.port) );
change to:
open( self.host(self.port), “google-chrome” );