Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync src with navalgazer & bump deps #192

Open
wants to merge 201 commits into
base: master
Choose a base branch
from
Open

Conversation

heavyk
Copy link

@heavyk heavyk commented Jun 12, 2015

works with iojs
passes all tests

shama added 30 commits March 19, 2014 21:14
These tests were for specific cases handled by private methods
that have now been removed and therefore these tests should be removed.
shama and others added 20 commits August 27, 2014 09:55
From: https://github.com/shama/gaze/blob/master/lib/gaze.js#L260 it is possible that there would be no callback provided as described in https://github.com/shama/gaze/blob/master/lib/platform.js#L118 . I just added a case for when there is no callback provided. I needed this fix for a project of mine. 

Other wise great work Kyle Robinson Young :)

This fix is for the following error

```
TypeError: undefined is not a function
    at Function.platform.close (/server/node/eve/node_modules/gaze/lib/platform.js:112:14)
    at Gaze._trigger (/server/node/eve/node_modules/gaze/lib/gaze.js:249:14)
    at Object.cb (/server/node/eve/node_modules/gaze/lib/platform.js:49:7)
    at /server/node/eve/node_modules/gaze/lib/statpoll.js:32:20
    at iterate (/server/node/eve/node_modules/gaze/lib/helper.js:106:5)
    at /server/node/eve/node_modules/gaze/lib/helper.js:116:11
    at /server/node/eve/node_modules/gaze/lib/statpoll.js:47:5
    at iterate (/server/node/eve/node_modules/gaze/lib/helper.js:106:5)
    at /server/node/eve/node_modules/gaze/lib/helper.js:116:11
    at /server/node/eve/node_modules/gaze/lib/statpoll.js:47:5
```
upgrade definitions with latest nan
add support for debouncing leading event
@heavyk
Copy link
Author

heavyk commented Jun 12, 2015

it's pretty fast too.. so I ported watchify https://github.com/heavyk/gazeify

@heavyk heavyk force-pushed the master branch 2 times, most recently from 32b6749 to 53219ae Compare June 12, 2015 01:12
@heavyk
Copy link
Author

heavyk commented Jun 12, 2015

shit, well it seems that the tests hang on linux for node-0.12 and iojs

however, locally here on OSX and iojs it's all good
EDIT: though I didn't try 0.12, I imagine it's the same

@shama
Copy link
Owner

shama commented Jun 12, 2015

Rad thanks for attempting this!

Have you seen the navelgazer branch? In there I am consuming navelgazer as a dependency and it gets a bit further on the tests with linux. I believe only a couple are failing.

@heavyk
Copy link
Author

heavyk commented Jun 13, 2015

oh, no, I didn't see the navalgazer branch. I'll check it out.

this has been working for me flawlessly on OSX, so for now, I'm just going to leave it.

later today I will be putting this up on the server. it'll get some linux testing then.
when I do that, I'll try and see if I can't figure out why it's hanging on the rename test and get back to you

cheers

@heavyk
Copy link
Author

heavyk commented Jun 13, 2015

real quick: I read through some of your changes now. I had a similar issue when writing another thing.

essentially, when pattern is '**/*.js' or anything with two ** then all subdirs must be explicitly watched.

lol, and I noticed that gaze04 was being used too for old node compat...

ok, I think I can probably get this :) cheers mate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.