diff --git a/index.js b/index.js index e2bbc05..ff82c09 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ module.exports = async (target, options) => { command = 'open'; if (options.wait) { - cliArguments.push('-W'); + cliArguments.push('--wait-apps'); } if (options.background) {