mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 22:16:20 +00:00
--pipeline option for embark console
, defaults to 'development'
This commit is contained in:
parent
cec7dc5750
commit
e0fda460ba
@ -179,6 +179,7 @@ class Cmd {
|
||||
.option('--logfile [logfile]', __('filename to output logs (default: %s)', 'none'))
|
||||
.option('--loglevel [loglevel]', __('level of logging to display') + ' ["error", "warn", "info", "debug", "trace"]', /^(error|warn|info|debug|trace)$/i, 'debug')
|
||||
.option('--locale [locale]', __('language to use (default: en)'))
|
||||
.option('--pipeline [pipeline]', __('webpack config to use (default: development)'))
|
||||
.description(__('Start the Embark console'))
|
||||
.action(function (env, options) {
|
||||
i18n.setOrDetectLocale(options.locale);
|
||||
@ -187,7 +188,8 @@ class Cmd {
|
||||
client: options.client || 'geth',
|
||||
locale: options.locale,
|
||||
logFile: options.logfile,
|
||||
logLevel: options.loglevel
|
||||
logLevel: options.loglevel,
|
||||
webpackConfigName: options.pipeline || 'development'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -256,7 +256,8 @@ class EmbarkController {
|
||||
logFile: options.logFile,
|
||||
logLevel: options.logLevel,
|
||||
context: this.context,
|
||||
ipcRole: 'client'
|
||||
ipcRole: 'client',
|
||||
webpackConfigName: options.webpackConfigName
|
||||
});
|
||||
engine.init();
|
||||
async.waterfall([
|
||||
|
Loading…
x
Reference in New Issue
Block a user