[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:
Spencer 2023-01-23 10:21:24 -06:00 committed by GitHub
parent 422e9444b1
commit 2dd9c3a337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/**',