diff --git a/scripts/start.js b/scripts/start.js index c93754df3b0..b5fa51d1467 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -136,9 +136,8 @@ function openBrowser(port) { // on OS X Google Chrome with AppleScript execSync('ps cax | grep "Google Chrome"'); execSync( - 'osascript ' + - path.resolve(__dirname, './utils/chrome.applescript') + - ' http://localhost:' + port + '/' + 'osascript chrome.applescript http://localhost:' + port + '/', + {cwd: path.join(__dirname, 'utils'), stdio: 'ignore'} ); return; } catch (err) {