File tree 4 files changed +29
-6
lines changed
4 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1
1
# changelog
2
2
3
+ ## 0.8.0
4
+
5
+ * Switch back to chokidar. Argh
6
+
3
7
## 0.7.0
4
8
5
9
* Switch to pathwatcher
Original file line number Diff line number Diff line change 1
1
module . exports = function ( gobblefile , getTask ) {
2
- var pathwatcher = require ( 'pathwatcher ' ) ,
2
+ var chokidar = require ( 'chokidar ' ) ,
3
3
logger = require ( './utils/logger' ) ,
4
4
task ,
5
5
watcher ,
6
6
resuming ;
7
7
8
8
resume ( ) ;
9
9
10
- pathwatcher . watch ( gobblefile , type => {
11
- if ( type === 'change' ) restart ( ) ;
12
- } ) ;
10
+ chokidar . watch ( gobblefile ) . on ( 'change' , restart ) ;
13
11
14
12
function restart ( ) {
15
13
if ( resuming ) return ;
Original file line number Diff line number Diff line change
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
+
7
+
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 ]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gobble-cli" ,
3
3
"description" : " Command line interface for gobble" ,
4
- "version" : " 0.7 .0" ,
4
+ "version" : " 0.8 .0" ,
5
5
"author" : " Rich Harris" ,
6
6
"license" : " MIT" ,
7
7
"repository" : " https://github.com/gobblejs/gobble-cli" ,
18
18
"interpret" : " ^1.0.0" ,
19
19
"liftoff" : " ^2.1.0" ,
20
20
"minimist" : " ^1.1.1" ,
21
- "pathwatcher" : " ^6.5.0" ,
22
21
"prompt" : " ^1.0.0" ,
23
22
"semver" : " ^5.1.0" ,
24
23
"sorcery" : " ^0.10.0" ,
You can’t perform that action at this time.
0 commit comments