Skip to content

Commit

Permalink
[dev/cli] add support for --no-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed May 15, 2020
1 parent b2df052 commit 53536c0
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 53536c0

Please sign in to comment.