diff --git a/src/commands/run.js b/src/commands/run.js index 886b7eb..cc65859 100644 --- a/src/commands/run.js +++ b/src/commands/run.js @@ -17,7 +17,7 @@ module.exports = function run(opts) { commandExists('rsync', (error, rsyncExists) => { if (!error && rsyncExists) { startServer(); - spawn('npm', ['run', opts.npmScript, '--', '--config', cliConfigPath], (code) => { + spawn('npm', ['run', opts.npmScript, '--', '--config', cliConfigPath].concat(process.argv.slice(4)), (code) => { process.exit(code); });