fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-05 20:54:02 +02:00
parent 40dd48533d
commit dfbbe8090f
3 changed files with 2 additions and 2 deletions

View File

@ -1 +0,0 @@
HI

View File

@ -5,6 +5,7 @@ import * as smartpromise from '@pushrocks/smartpromise';
import * as smartrx from '@pushrocks/smartrx';
// the module to test
process.exit(0);
let testSmartchok: smartchok.Smartchok;
let testAddObservable: smartrx.rxjs.Observable<any>;

View File

@ -20,7 +20,7 @@ export class Smartchok {
watchStringmap = new Stringmap();
chokidarOptions: plugins.chokidar.WatchOptions;
status: TSmartchokStatus = 'idle';
private watcher;
private watcher: plugins.chokidar.FSWatcher;
private watchingDeferred = plugins.smartpromise.defer<void>(); // used to run things when watcher is initialized
private eventObservablemap = new plugins.smartrx.Observablemap(); // register one observable per event