Skip to content

Commit fb47110

Browse files
author
Balinski
committed
SimulatedGREG#14 update task runner to start electron after compilation with warnings
1 parent 914291e commit fb47110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/tasks/runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function run (command, color, name) {
3333
* Start electron after successful compilation
3434
* (prevents electron from opening a blank window that requires refreshing)
3535
*/
36-
if (/Compiled successfully/g.test(data.toString().trim().replace(/\n/g, '\n' + repeat(' ', command.length + 2))) && !isElectronOpen) {
36+
if (/Compiled/g.test(data.toString().trim().replace(/\n/g, '\n' + repeat(' ', command.length + 2))) && !isElectronOpen) {
3737
console.log(`${BLUE}Starting electron...\n${END}`)
3838
run('cross-env NODE_ENV=development electron app/src/main/index.dev.js', BLUE, 'electron')
3939
isElectronOpen = true

0 commit comments

Comments
 (0)