mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-04 14:03:27 +00:00
main: Turn electron-connect off by default.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
e03de26137
commit
22d7ef5615
@@ -29,7 +29,7 @@ gulp.task('compile', () => {
|
||||
|
||||
gulp.task('dev', () => {
|
||||
// Start browser process
|
||||
electron.start();
|
||||
electron.start(['--electron-connect']);
|
||||
// Restart browser process
|
||||
gulp.watch('app/main/*.ts', gulp.series('compile', 'restart:browser'));
|
||||
// Reload renderer process
|
||||
@@ -40,7 +40,7 @@ gulp.task('dev', () => {
|
||||
|
||||
gulp.task('restart:browser', done => {
|
||||
electron.stop();
|
||||
electron.restart();
|
||||
electron.restart(['--electron-connect']);
|
||||
done();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user