Skip to content

Commit 1a58d3a

Browse files
committed
fix(serve): fixes #24, changes launch command
1 parent e3ae7a9 commit 1a58d3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ module.exports = (api, options) => {
222222
options,
223223
rendererConfig
224224
).then(server => {
225-
console.log('\nLaunching Electron...\n')
225+
console.log('\nLaunching Electron...')
226226
const child = execa(
227-
`./node_modules/.bin/electron ${outputDir}/background.js`,
227+
'./node_modules/.bin/electron',
228+
[`${outputDir}/background.js`],
228229
{
229230
cwd: api.resolve('.'),
230231
stdio: 'inherit',

0 commit comments

Comments
 (0)