mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-18 06:28:40 -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);
|
sessions.set(uid, session);
|
||||||
rpc.emit('new session', { uid });
|
rpc.emit('new session', { uid });
|
||||||
|
|
||||||
AutoUpdater(rpc);
|
if (!isDev) {
|
||||||
|
AutoUpdater(rpc);
|
||||||
|
} else {
|
||||||
|
console.log('ignoring auto updates during dev');
|
||||||
|
}
|
||||||
|
|
||||||
session.on('data', (data) => {
|
session.on('data', (data) => {
|
||||||
rpc.emit('data', { uid, data });
|
rpc.emit('data', { uid, data });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue