You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
423 B
21 lines
423 B
/**
|
|
* Start the server. Registered tasks:
|
|
* - connect
|
|
* - run
|
|
*
|
|
* @param {Object} grunt Reference to the current Grunt process.
|
|
*/
|
|
module.exports = function(grunt) {
|
|
grunt.loadNpmTasks('grunt-contrib-connect');
|
|
|
|
grunt.config.set('connect', {
|
|
dev: {
|
|
options: {
|
|
base: '<%= source.app %>',
|
|
port: '<%= server.port %>',
|
|
open: false,
|
|
keepalive: true
|
|
}
|
|
}
|
|
});
|
|
};
|