Added grunt server command

This commit is contained in:
Rashid Khan 2013-11-15 14:29:27 -07:00
parent 06b855ffbb
commit a926358af8
2 changed files with 14 additions and 0 deletions

11
tasks/options/connect.js Normal file
View File

@ -0,0 +1,11 @@
module.exports = function(config) {
return {
dev: {
options: {
port: 5601,
base: config.srcDir,
keepalive: true
}
},
}
};

3
tasks/server_task.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = function(grunt) {
grunt.registerTask('server', ['connect:dev']);
};