From: Kevin Sawicki Date: Mon, 13 Jun 2016 16:46:33 +0000 (-0700) Subject: Log error when repling on Windows X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82d0d06d61bce4f710a571c1daeaad02bb7f0bbd;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Log error when repling on Windows --- diff --git a/default_app/main.js b/default_app/main.js index 4bf4dac..9c66363 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -309,6 +309,12 @@ function loadApplicationByUrl (appUrl) { } function startRepl () { + if (process.platform === 'win32') { + console.error('Electron REPL not currently supported on Windows') + process.exit(1) + return + } + repl.start('> ').on('exit', () => { process.exit(0) })