-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
electron:serve
起動時にエディタを起動しないオプションを追加 (#2309)
Co-authored-by: Hiroshiba Kazuyuki <[email protected]>
- Loading branch information
1 parent
17b5920
commit 5a81c98
Showing
8 changed files
with
86 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Electron Serve without Launch Electron", | ||
// Electronを起動せずにバックグラウンドで"electron:serve"を実行する | ||
// NOTE: デバッグ起動を軽くできる | ||
"type": "npm", | ||
"script": "electron:serve", | ||
"options": { | ||
"env": { | ||
"SKIP_LAUNCH_ELECTRON": "1" | ||
} | ||
}, | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"pattern": { | ||
"regexp": "" | ||
}, | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": "building for development\\.\\.\\.", | ||
"endsPattern": "main process build is complete\\." | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters