Skip to content

Instantly share code, notes, and snippets.

@pdehaan
Created November 7, 2013 00:31
Show Gist options
  • Save pdehaan/7346857 to your computer and use it in GitHub Desktop.
Save pdehaan/7346857 to your computer and use it in GitHub Desktop.
Start a server on port 8000 using Grunt.
module.exports = function (grunt) {
grunt.initConfig({
connect: {
server: {
options: {
keepalive: true,
port: 8000,
base: "."
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.registerTask('default', ['connect']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment