2014-08-26 02:55:32 +02:00
|
|
|
module.exports = function (grunt) {
|
2015-08-01 23:46:53 +02:00
|
|
|
let {resolve} = require('path');
|
|
|
|
let root = p => resolve(__dirname, '../../', p);
|
|
|
|
|
2015-07-16 07:15:56 +02:00
|
|
|
return {
|
|
|
|
devServer: {
|
2014-10-10 19:33:48 +02:00
|
|
|
options: {
|
2014-10-10 19:46:06 +02:00
|
|
|
wait: false,
|
2015-08-03 20:23:45 +02:00
|
|
|
ready: /\[optimize\]\[status\] Status changed from [a-zA-Z]+ to green/,
|
2015-07-16 07:15:56 +02:00
|
|
|
quiet: false,
|
2014-10-10 19:46:06 +02:00
|
|
|
failOnError: false
|
2014-10-10 19:33:48 +02:00
|
|
|
},
|
2015-07-16 07:15:56 +02:00
|
|
|
cmd: './bin/kibana',
|
2015-07-28 03:17:54 +02:00
|
|
|
args: ['--dev', '--no-watch', '--logging.json=false']
|
2014-08-26 02:55:32 +02:00
|
|
|
}
|
|
|
|
};
|
2015-08-01 23:46:53 +02:00
|
|
|
|
2014-08-26 02:55:32 +02:00
|
|
|
};
|