Skip to content

Commit b39e940

Browse files
committed
-> v0.8.0
1 parent 372dc28 commit b39e940

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# changelog
22

3+
## 0.8.0
4+
5+
* Switch back to chokidar. Argh
6+
37
## 0.7.0
48

59
* Switch to pathwatcher

lib/watchOrServe.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
module.exports = function ( gobblefile, getTask ) {
2-
var pathwatcher = require( 'pathwatcher' ),
2+
var chokidar = require( 'chokidar' ),
33
logger = require( './utils/logger' ),
44
task,
55
watcher,
66
resuming;
77

88
resume();
99

10-
pathwatcher.watch( gobblefile, type => {
11-
if ( type === 'change' ) restart();
12-
});
10+
chokidar.watch( gobblefile ).on( 'change', restart );
1311

1412
function restart () {
1513
if ( resuming ) return;

npm-debug.log

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ '/Users/haggis/.nvm/versions/node/v7.2.0/bin/node',
3+
1 verbose cli '/Users/haggis/.nvm/versions/node/v7.2.0/bin/npm',
4+
1 verbose cli 'run',
5+
1 verbose cli 'lint' ]
6+
2 info using [email protected]
7+
3 info using [email protected]
8+
4 verbose stack Error: missing script: lint
9+
4 verbose stack at run (/Users/haggis/.nvm/versions/node/v7.2.0/lib/node_modules/npm/lib/run-script.js:151:19)
10+
4 verbose stack at /Users/haggis/.nvm/versions/node/v7.2.0/lib/node_modules/npm/lib/run-script.js:61:5
11+
4 verbose stack at /Users/haggis/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5
12+
4 verbose stack at handleExists (/Users/haggis/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:329:20)
13+
4 verbose stack at FSReqWrap.cb [as oncomplete] (fs.js:239:19)
14+
5 verbose cwd /www/GOBBLE/gobble-cli
15+
6 error Darwin 15.6.0
16+
7 error argv "/Users/haggis/.nvm/versions/node/v7.2.0/bin/node" "/Users/haggis/.nvm/versions/node/v7.2.0/bin/npm" "run" "lint"
17+
8 error node v7.2.0
18+
9 error npm v3.10.9
19+
10 error missing script: lint
20+
11 error If you need help, you may report this error at:
21+
11 error <https://github.com/npm/npm/issues>
22+
12 verbose exit [ 1, true ]

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gobble-cli",
33
"description": "Command line interface for gobble",
4-
"version": "0.7.0",
4+
"version": "0.8.0",
55
"author": "Rich Harris",
66
"license": "MIT",
77
"repository": "https://github.com/gobblejs/gobble-cli",
@@ -18,7 +18,6 @@
1818
"interpret": "^1.0.0",
1919
"liftoff": "^2.1.0",
2020
"minimist": "^1.1.1",
21-
"pathwatcher": "^6.5.0",
2221
"prompt": "^1.0.0",
2322
"semver": "^5.1.0",
2423
"sorcery": "^0.10.0",

0 commit comments

Comments
 (0)