mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
index: ignore auto updates during dev
This commit is contained in:
parent
7e57aa94bc
commit
914178bab4
1 changed files with 5 additions and 1 deletions
6
index.js
6
index.js
|
|
@ -60,7 +60,11 @@ app.on('ready', () => {
|
|||
sessions.set(uid, session);
|
||||
rpc.emit('new session', { uid });
|
||||
|
||||
AutoUpdater(rpc);
|
||||
if (!isDev) {
|
||||
AutoUpdater(rpc);
|
||||
} else {
|
||||
console.log('ignoring auto updates during dev');
|
||||
}
|
||||
|
||||
session.on('data', (data) => {
|
||||
rpc.emit('data', { uid, data });
|
||||
|
|
|
|||
Loading…
Reference in a new issue