Added grunt server command
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
module.exports = function(config) {
|
||||
return {
|
||||
dev: {
|
||||
options: {
|
||||
port: 5601,
|
||||
base: config.srcDir,
|
||||
keepalive: true
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
module.exports = function(grunt) {
|
||||
grunt.registerTask('server', ['connect:dev']);
|
||||
};
|
||||
Reference in New Issue
Block a user