Skip to content

Commit

Permalink
[dev/cli] add support for --no-cache (elastic#66837)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored May 18, 2020
1 parent 84e06af commit 4f1b9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/cluster/run_kbn_optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function runKbnOptimizer(opts: Record<string, any>, config: LegacyConfig)
repoRoot: REPO_ROOT,
watch: true,
includeCoreBundle: true,
cache: !!opts.cache,
oss: !!opts.oss,
examples: !!opts.runExamples,
pluginPaths: config.get('plugins.paths'),
Expand Down
1 change: 1 addition & 0 deletions src/cli/serve/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export default function(program) {
"Don't put a proxy in front of the dev server, which adds a random basePath"
)
.option('--no-watch', 'Prevents automatic restarts of the server in --dev mode')
.option('--no-cache', 'Disable the kbn/optimizer cache')
.option('--no-dev-config', 'Prevents loading the kibana.dev.yml file in --dev mode');
}

Expand Down

0 comments on commit 4f1b9a2

Please sign in to comment.