According to this commit in grunt-contrib-connect
, the open
option seems to be supported from v0.6.0.
But the app generated webapp generator uses v0.5.0 by default.
So you need to upgrade it in package.json
.
"grunt-contrib-connect": "~0.7.1",
Then run npm install
(and you can double-check with npm list | grep grunt-contrib-connect
if v0.7.1 has been installed) and add the open
option in Gruntfile.js
.
connect: {
...
livereload: {
options: {
open: {
appName: 'Firefox'
},
...
This works for me, so I hope this helps you too.