pathwatcher
Advanced tools
Comparing version 0.4.0 to 0.5.0
(function() { | ||
var EventEmitter, HandleWatcher, PathWatcher, binding, fs, handleWatchers, util, | ||
var EventEmitter, HandleWatcher, PathWatcher, binding, fs, handleWatchers, | ||
__hasProp = {}.hasOwnProperty, | ||
@@ -12,4 +12,2 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
util = require('util'); | ||
handleWatchers = {}; | ||
@@ -16,0 +14,0 @@ |
@@ -5,4 +5,4 @@ { | ||
"readme": "README.md", | ||
"description": "watch events of a file", | ||
"version": "0.4.0", | ||
"description": "Watch file events", | ||
"version": "0.5.0", | ||
"licenses": [ | ||
@@ -21,8 +21,8 @@ { | ||
}, | ||
"homepage": "http://atom.github.io/node-pathwatcher", | ||
"scripts": { | ||
"prepublish": "grunt coffee", | ||
"test": "jasmine-node --forceexit --coffee spec/" | ||
"prepublish": "grunt clean lint coffee", | ||
"test": "grunt test" | ||
}, | ||
"devDependencies": { | ||
"jasmine-node": "~1.5.0", | ||
"grunt": "~0.4.1", | ||
@@ -32,3 +32,7 @@ "grunt-contrib-coffee": "~0.6.6", | ||
"grunt-shell": "~0.2.2", | ||
"coffee-script": "~1.6.2" | ||
"coffee-script": "~1.6.2", | ||
"jasmine-focused": "~0.7.0", | ||
"rimraf": "~2.2.0", | ||
"node-cpplint": "~0.1.4", | ||
"grunt-coffeelint": "0.0.6" | ||
}, | ||
@@ -35,0 +39,0 @@ "dependencies": { |
@@ -16,6 +16,10 @@ # Path Watcher Node Module | ||
## Docs | ||
## Using | ||
### watch(filename, [listener]) | ||
```coffeescript | ||
PathWatcher = require 'pathwatcher' | ||
``` | ||
### PathWatcher.watch(filename, [listener]) | ||
Watch for changes on `filename`, where `filename` is either a file or a | ||
@@ -22,0 +26,0 @@ directory. The returned object is a PathWatcher. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
11656
1
34
9
113