Skip to content

Commit

Permalink
rename repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuan Chuan committed May 20, 2012
1 parent 90d1413 commit 308615e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#nwatch (nodewatch)
#Node-watch

This program is part of Markab(an instant mockup tool, still under development).

Expand All @@ -11,7 +11,7 @@ The difference bewteen other nodewatch tools is that it does not differentiate e

## Example

var watch = require('nwatch');
var watch = require('node-watch');

watch('somedir', function(filename) {
console.log(filename, ' changed.');
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./lib/nwatch');
module.exports = require('./lib/watch');
4 changes: 2 additions & 2 deletions lib/nwatch.js → lib/watch.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* nwatch (Just another file watcher utility for nodeJS.)
* Node-watch (Just another file watcher utility for nodeJS.)
* Copyright (c) 2012 yuanchuan (yuanchuan23@gmail.com)
* Licensed under the MIT license.
* https://github.com/yuanchuan/nwatch
* https://github.com/yuanchuan/node-watch
*/


Expand Down
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
{
"name": "nwatch"
, "description": "a file watcher utility for nodeJS"
"name": "node-watch"
, "description": "A file watcher utility for nodeJS"
, "version": "0.1.0"
, "homepage": "https://github.com/yuanchuan/nwatch"
, "url": "https://github.com/yuanchuan/node-watch"
, "author": "yuanchuan <yuanchuan23@gmail.com> (http://yuanchuan.name)"
, "main": "./index.js"
, "keywords": {
"nodewatch"
, "watch"
, "watchfile"
}
,
, "main": "./lib/watch.js"
, "keywords": ["nodewatch", "watch", "watchfile"]
, "repository": {
"type": "git"
, "url": "git://github.com/yuanchuan/nwatch.git"
, "url": "git://github.com/yuanchuan/node-watch.git"
}
, "engines": { "node": "*" }
}

0 comments on commit 308615e

Please sign in to comment.