module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), connect: { server: { options: { port: 9001, keepalive: true } } } }); grunt.loadNpmTasks('grunt-contrib-connect'); grunt.registerTask('server', ['connect']); };