shama / gaze

:crystal_ball: A globbing fs.watch wrapper built from the best parts of other fine watch libs.
MIT License
1.15k stars 168 forks source link

update code for ES2015+ #251

Closed benatkin closed 6 years ago

benatkin commented 6 years ago

I updated the code in the README to use const instead of var, and while I was at it also updated gaze itself to use const/let instead of var, and fat arrow functions (making var self = this unnecessary). I checked node.green to see that my changes are supported by node 4.x. My CI is passing:

https://travis-ci.com/benatkin/gaze/builds

I saw that your travis CI build after you merged my last PR had an error. I wonder if switching to travis-ci.com which now supports open source would fix it. As part of migrating, it had me install Travis CI as a GitHub app, which may also get things running more smoothly.

shama commented 6 years ago

Thanks! I'll look into updating travis-ci to the .com, I didn't realize they've changed from the .org