I am completely new to the arbor environment / grunt / yeoman . I am trying to customize the application created by the default Webapp generator.
Basically, at startup grunt serve, the default browser starts, opening the URL served by the grunt server. I would like to indicate in which browser the webapp should open, but I had no luck.
These are the default settings for the connection task (using grunt-contrib-connect) inside my grunt file:
connect: {
options: {
port: 9000,
open: true,
livereload: 35729,
// Change this to '0.0.0.0' to access the server from outside
hostname: 'localhost',
}
I tried to add a field appName: 'Firefox', but I think this is not what I am looking for. I suppose it is appNameused to indicate how to use the default browser from the command line (for example, using the command open), am I correct?
Is it possible to specify a browser in grunt-contrib-connect or not at all? If not, how should I complete this task? Maybe using grunt-open?
thank
source
share