use a Duplex stream for EOF

This commit is contained in:
Danny Coates 2018-06-25 14:01:08 -07:00
parent beccd80902
commit 126ea8c7e6
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 31 additions and 30 deletions

View file

@ -52,7 +52,7 @@ export default function(state, emitter) {
checkFiles();
});
//emitter.on('navigate', checkFiles);
emitter.on('navigate', checkFiles);
emitter.on('render', () => {
lastRender = Date.now();