- this is my gruntfile.
- i run $ grunt default
actuall i want to up my index.html on some port and want it to open in chrom directly
module.exports = function(grunt) { grunt.initConfig({ connect: { server: { options: { port: 9001, base: { path: 'Dev', options: { index: 'index.html', maxAge: 300000 } } } } }, open: { delayed: { path: 'http://localhost:9001' app: 'Google Chrome' options: { openOn: 'serverListening' } } } }); grunt.registerTask('default', ['connect', 'open']); };
Asked
Active
Viewed 220 times
1

mohit bansal
- 11
- 1
- 3