Skip to content

Commit 41262d1

Browse files
Spencerspalgerelasticmachine
authored
[cli] remove reference to removed --optimize flag (#75083)
Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent d4f5247 commit 41262d1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cli/serve/serve.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,6 @@ function applyConfigOverrides(rawConfig, opts, extraCliOptions) {
136136
if (opts.verbose) set('logging.verbose', true);
137137
if (opts.logFile) set('logging.dest', opts.logFile);
138138

139-
if (opts.optimize) {
140-
set('server.autoListen', false);
141-
set('plugins.initialize', false);
142-
}
143-
144139
set('plugins.scanDirs', _.compact([].concat(get('plugins.scanDirs'), opts.pluginDir)));
145140
set(
146141
'plugins.paths',

0 commit comments

Comments
 (0)