Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*
Connect
Start a static web server
https://github.com/gruntjs/grunt-contrib-connect
*/
'connect': {
options: {
port: 9000,
open: true,
livereload: 35729,
hostname: 'localhost'
},
livereload: {
options: {
middleware: function(connect) {
return [
connect.static('dev'),
];
}
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.