mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[dev-cli] restart Kibana when config is changed (#149334)
Restores the behavior of the dev cli prior to https://github.com/elastic/kibana/pull/148924, allowing changes in `config/**/*.yml` files to trigger server restarts.
This commit is contained in:
parent
422e9444b1
commit
2dd9c3a337
1 changed files with 2 additions and 1 deletions
|
@ -18,9 +18,10 @@ import { Log } from './log';
|
|||
const packageMatcher = makeMatcher(['**/*', '!**/.*']);
|
||||
|
||||
/**
|
||||
* Any non-package code must match this in order to trigger a restart
|
||||
* Any code that is outside of a package must match this in order to trigger a restart
|
||||
*/
|
||||
const nonPackageMatcher = makeMatcher([
|
||||
'config/**/*.yml',
|
||||
'src/**',
|
||||
'!src/{dev,fixtures}/**',
|
||||
'x-pack/plugins/**',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue