Skip to content

Instantly share code, notes, and snippets.

@brunogarcia
Created October 14, 2015 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogarcia/1c2ddab2790a4adf9a7e to your computer and use it in GitHub Desktop.
Save brunogarcia/1c2ddab2790a4adf9a7e to your computer and use it in GitHub Desktop.
/*
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