mirror of
https://github.com/grafana/grafana.git
synced 2025-01-02 12:17:01 -06:00
Added grunt server command
This commit is contained in:
parent
06b855ffbb
commit
a926358af8
11
tasks/options/connect.js
Normal file
11
tasks/options/connect.js
Normal 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
3
tasks/server_task.js
Normal file
@ -0,0 +1,3 @@
|
||||
module.exports = function(grunt) {
|
||||
grunt.registerTask('server', ['connect:dev']);
|
||||
};
|
Loading…
Reference in New Issue
Block a user