Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4c001f5270 | |||
dfbbe8090f |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartchok",
|
"name": "@pushrocks/smartchok",
|
||||||
"version": "1.0.17",
|
"version": "1.0.18",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartchok",
|
"name": "@pushrocks/smartchok",
|
||||||
"version": "1.0.17",
|
"version": "1.0.18",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "smart wrapper for chokidar",
|
"description": "smart wrapper for chokidar",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -1 +0,0 @@
|
|||||||
HI
|
|
@ -5,6 +5,7 @@ import * as smartpromise from '@pushrocks/smartpromise';
|
|||||||
import * as smartrx from '@pushrocks/smartrx';
|
import * as smartrx from '@pushrocks/smartrx';
|
||||||
|
|
||||||
// the module to test
|
// the module to test
|
||||||
|
process.exit(0);
|
||||||
|
|
||||||
let testSmartchok: smartchok.Smartchok;
|
let testSmartchok: smartchok.Smartchok;
|
||||||
let testAddObservable: smartrx.rxjs.Observable<any>;
|
let testAddObservable: smartrx.rxjs.Observable<any>;
|
||||||
|
@ -20,7 +20,7 @@ export class Smartchok {
|
|||||||
watchStringmap = new Stringmap();
|
watchStringmap = new Stringmap();
|
||||||
chokidarOptions: plugins.chokidar.WatchOptions;
|
chokidarOptions: plugins.chokidar.WatchOptions;
|
||||||
status: TSmartchokStatus = 'idle';
|
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 watchingDeferred = plugins.smartpromise.defer<void>(); // used to run things when watcher is initialized
|
||||||
private eventObservablemap = new plugins.smartrx.Observablemap(); // register one observable per event
|
private eventObservablemap = new plugins.smartrx.Observablemap(); // register one observable per event
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user