Log error when repling on Windows

This commit is contained in:
Kevin Sawicki 2016-06-13 09:46:33 -07:00
parent 2dc453b4be
commit 82d0d06d61

View file

@ -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)
})