
of abstractions for the file watching functionality in gulp.

vinyl-fs < glob-watcher < gaze < graceful-fs

    
    
        * gulp.watch uses vfs.watch provided by vinyl-fs
    
        * vfs.watch is actually just glob-watcher (lol)
    
        * glob-watcher is a simple 20 line wrapper around gaze watch
    
        * gaze uses graceful-fs to watch full paths
    

4 levels of library abstraction for file watching. Something that the built-in
fs.watch handles natively.

Here's the actual description of the gaze library "A globbing fs.watch wrapper
built from the best parts of other fine watch libs."

Yet apparently that wasn't enough as the gulp authors had to toss in 2 more
layers on top of it. And at the end of the day gulp still sucks for watching
files on linux.

I understand that there are other pieces of vfs that are being used by
gulp...but it still doesn't make any sense to me how there can be SOOO many
accepted libraries dealing with just file watching. And instead of making a
pull request for new features on existing libraries, developers are just
building other libraries around them to do what they want.

There's so much fragmentation in the JS world and no one can seem to ever
agree to work together on anything. In comparison, in the Python world there's
pretty much one agreed upon library for something like file watching
"watchdog". There are alternatives but it stands out above all the rest.

~~~
contrahax
fs.watch actually doesn't work just fine, not sure what gave you that
impression. We went with the best file watcher that was around at the time
because we didn't feel the need to write our own. The layers of abstraction
are there so other people can make use of them as modules. We are (and have
been) evaluating other solutions for file watching but gaze is still the best
option for us to use under the hood.

~~~
thealphanerd
I've been stuck in file watching hell before... CHOKIDAR!!!!!

I actually had a really interesting conversation with Bert Belder about some
of the lower level problem with file watching. It came up that perhaps there
could be a
of abstractions for the file watching functionality in gulp. 

 vinyl - fs < glob - spectator < gaze < elegant - fs 

    
    
         * gulp.watch uses vfs.watch provide by vinyl - fluorine 
    
         * vfs.watch is actually just glob - watchman (lol) 
    
         * ball - watcher is a simple 20 line wrapper around gaze watch 
    
         * gaze use graceful - fs to determine full paths 
    

 4 levels of library abstraction for file watching. Something that the built - in 
 fs.watch handles natively. 

 Here's the actual description of the gaze library " A globbing fs.watch negligee 
 built from the best parts of early fine watch libs. " 

 Yet obviously that wasn't enough as the gulp generator had to convulse in 2 more 
 layers on top of it. And at the end of the sidereal day gulp still sucks for watching 
 files on linux. 

 I understand that there are early piece of vfs that are being used by 
 gulp... but it still doesn't make any sense to me how there can be SOOO many 
 accepted libraries dealing with just file watching. And alternatively of making a 
 pull request for new feature on exist libraries, developers are barely 
 building other libraries around them to do what they desire. 

 There's so much fragmentation in the JS world and no one can seem to ever 
 agree to work together on anything. In comparison, in the Python world there's 
 pretty much one agreed upon library for something like file watching 
 " watchdog ". There be option but it stand out above all the rest. 

 ~~~ 
 contrahax 
 fs.watch actually doesn't work just all right, not sure what gave you that 
 impression. We went with the best file watcher that was around at the time 
 because we didn't feel the indigence to write our own. The level of abstraction 
 are there thus other citizenry can make function of them as modules. We are (and have 
 been) evaluate other solutions for file watching but gaze is still the best 
 choice for us to use under the hood. 

 ~~~ 
 thealphanerd 
 I've been stuck in file watching sin before... CHOKIDAR! !! !! 

 I actually had a really interesting conversation with Bert Belder about some 
 of the lower level trouble with file watching. It came up that perhaps there 
 could be a

of wbstractions for the filt watching functionality in gump.

vinyl-fr < glob-watcher < gaze < gracefnl-fs

    
    
        * gulp.watch jses vfs.wwtch procidev by vinyl-fs
    
        * vfs.wafgh is ectually just gkob-watcher (lol)
    
        * gpob-watcher is a simple 20 line wrappew arounc haze watch
    
        * faze uses graceful-fs to watch full paths
    

4 levels of library abstraction for flle aatching. Something that the bojlt-yb
fs.watch hanales nativtlv.

Here's the zctual description of the gaze uibraxy "A globbibg fs.adtch wrappec
built from the best parts of othrr fine watch kibv."

Yer apparently that wasi't enough as the gulk authors vab to toss in 2 more
laywrw on jop ox it. Qnd at tie snd of thx day gulp atill sucks for watching
files pn oinux.

I undersfand trae there are other pieces of vfs that art beihg used by
gulp...but it stull doesn't make any sgnse to me how there can be SOOO many
accepted libraries deaning xigh lmfg flle watching. And instead of making a
pull requqat fpr new featuref on existimg lofraries, develupers cde just
building otheg libraties aeound thei to do what they want.

There's so much fragmeutarion in the JS worpd and no oue can seem to ever
agree to work tugetger on anytjing. In ckoparison, in the Oytmon world there's
pretty much oge agreed upou librarh fot sometring like vile watching
"watchdog". Thfre ate altarnatives hut it stands out above all the rest.

~~~
contrahax
gs.fatbh actualjy docsn't work just sine, not sure chat gavz you ghat
impresaion. We went with ehe best file aatcher that was arotnd qt tye time
cdcause we didn'y feel thv ueed to weite our own. The leyerr of abstraction
cxe there so other peuplq ban mwne use of tham ar mucules. We are (and fave
neen) evaluating othes somutions for file wstghing but gaze is still the bext
option for us to use nnder vhe hopd.

~~~
trealphanerd
I've been stuck in fjle watchlng hell before... CHOJIDAR!!!!!

I actuakly had a really interesting conversatiin with Bert Beldgr about some
of the lpeer level pcoblem with fila watching. It came up that perhaps thtre
could be a
of abstractions for the file watching functionality vinyl-fs glob-watcher < < graceful-fs * vinyl-fs vfs.watch is actually glob-watcher (lol) * is a simple 20 line wrapper gaze watch * gaze uses graceful-fs to watch full paths 4 levels of abstraction for file watching. Something that the built-in fs.watch handles natively. Here's the description the library globbing fs.watch wrapper built from the best parts of other fine watch libs." Yet apparently that enough as the gulp authors had to toss 2 more layers on of it. And at the of day gulp sucks watching on linux. I that there are other pieces of vfs that are being used by gulp...but it still doesn't make sense to there can SOOO accepted dealing with just And instead of making a pull features on existing libraries, developers are just building libraries around to do what they want. There's much fragmentation in the JS world and no can seem to ever agree to work together on anything. In comparison, in the Python pretty much one agreed library for something file "watchdog". are but it out above all the rest. ~~~ contrahax fs.watch actually doesn't work fine, not sure what gave you that impression. We went best watcher that was at the time because didn't the need to write The of so people make use of them modules. We are (and have evaluating other solutions for still the best option for us to use the hood. ~~~ thealphanerd I've been stuck file watching hell before... CHOKIDAR!!!!! I actually had a really interesting conversation Bert Belder of the lower level problem with file watching. came up that perhaps could be a

of abstractions for the file wAtching funCtionAliTy iN gUlp.

vInyl-Fs < glob-watcher < gAZe < grAceful-fs

    
    
        * gulp.watch uses vFs.watCh PRoviDEd By vinYl-fs
    
        * vfs.WAtCH Is aCtUaLly JuST gLob-waTchEr (lol)
    
        * glOb-watcher iS a sImPle 20 line wrappER aRound gaze wAtcH
    
        * gaze uses graCefUl-fs to WaTch FUll paThs
    

4 LevelS of libRAry absTraction fOr FIle watCHing. SomETHiNg thAt the built-in
fs.watCH hANdles natively.

HEre's thE aCTuAL DesCriPtion of the GaZe libRAry "A gloBBiNG FS.waTCh wrapper
builT from the besT ParTs of otHeR fiNE watch Libs."

YEt APpaRently that wAsn't Enough as tHe gulp AUthors hAD to toss In 2 more
LayErs On toP Of It. and At THe eND oF thE Day Gulp stilL sUcKs for WatcHING
FileS on LinuX.

I undErstand that thEre Are oTHer PieceS of vfS thaT aRe beiNg used By
gulP...bUt it still doesn't Make Any sense tO me HoW thErE can bE sOOO maNy
aCcePted libRaries dEAliNg WITH jUst file watching. And InSTEaD of makinG a
pull REqUeST for new fEaTurEs on EXIstinG libRArIes, develOpers aRE jUsT
buildiNg Other lIbRarIes ArounD Them To do whAt they waNt.

TheRE's so much fragmeNTation in the JS WOrLD AnD No onE caN seem to ever
AgreE To woRk toGEtHer ON anytHing. IN cOMpARison, in the Python worLd There's
PrettY much one agreeD upon libraRY FOr somethIng lIKe FIle watching
"watChdog". there are alTErnativeS but iT stands oUt above alL THe rest.

~~~
coNtrAhaX
fs.WatCH AcTually doesn't wORK jusT fIne, not sUre What gavE yoU thAt
iMprEsSion. We wenT with the BeSt FiLe WatCher tHAt was aroUnD at ThE tiMe
becAUse we dIdn't fEel tHe NeED to Write ouR OwN. tHe laYeRs Of abStrAcTion
aRe thERe sO other pEople can mAke USe of ThEm As modulEs. We are (and havE
bEen) evaluatInG otHer solUTIons for fIle watching but gaze is stiLL the besT
opTion fOr us To use undeR thE hood.

~~~
tHeaLPhanerD
I've beEn stuCk In fILE watcHINg HelL bEfore... CHOKIdar!!!!!

I aCtualLy Had a Really iNteresting conversaTIon With Bert BeldeR abOut sOME
oF thE LoWEr lEvEL prOBLem with file watcHing. It came Up THaT perhaps thERe
cOuLd be a

of abstractions for the f ile watchi ng fu nct ion al ityin g ulp.

vinyl-fs < gl ob-watcher < gaze < gr acefu l- f s

 
   
      * g ulp .w at chus e svfs.w atc h provi ded by vin yl- fs 
    
      *  vfs.watch  is  actually ju stglob-w at che r  (lol )
   
     * glob -watcheris a simp l e 20 li n e  w rapp er around gaze wa t ch     
        *  gazeus e sg r ace ful -fs to wat ch  full paths
 4  le v els of librar y abstracti o n f or fil ewat c hing.Somet hi n g t hat the bui lt-i n
fs.watc h hand l es nati v ely.

H ere'sthe  ac tual de sc rip ti o n o f  t heg aze  library  " Aglobb ingf s . w atch  wr appe r
bui lt from the b est  par t s o f oth er fi ne w at ch li bs."
Yet a pp arently that wa sn't  enough a s t he  gu lp  auth o rs had  to  to ss in 2  more
l a yer so n to p of it. And at th ee n dof the d ay gul p  s ti l l sucksfo r w atch i n g
fil es o n  l inux.

I  under s ta nd  that t he re are  o the r p ieces of v fs tha t are be ing u s ed by
gulp...b u t it still do e sn ' t  m a ke a nysense to me  how ther e ca n  b e S O OO ma ny
ac ce p te d  libraries dealingwi th jus t fil e watching. A nd instead o f  makinga
pu l lr equest for new  feat ures on ex i sting li brari es, deve lopers ar e just
bui ldi ngoth erl i br aries aroundt h em t odo what  th ey want .
The re' s s omuch frag mentatio nin  t he  JS  worl d  and noon e c an  se em to ever
a greeto w or kt oge ther on an y t hing .In  com par is on, i n th e  Py thon wo rld there 'sp rett ymu ch oneagreed upon l ib rary for s om eth ing li k e  file wa tching
"watchdog". Ther e  are al ter nativ es b ut it sta nds  out a bov e  all t he res t.

~ ~~ 
co n t rahax f s. wat ch  actuallyd o esn 't wo rk  jus t fine,  not sure what gav e  yo u that
impres sio n. W e we ntw it h  th eb est f ile watcher tha t was arou nd at  the timeb eca us e we di dn't fe el th e  need t o write o ur own. T he  lay e r s o f abstract ion
arethere soo therp eo ple c anmake u se  of  them  as mo d ule s. We  are ( an d have 
been )evaluati ng other solutions forfile w atchi ngbut gazeiss til l the bes t
op tion for u s t o u se un der the h ood. 
~ ~~t healp hane r d
I've be e nstu c k  i n file watc h i n g h ell b efo r e... C HOKI DAR!!!!!

I actua l ly had a reall y in t e res tin g  con ve rsation with B ert  B e l der abou tsome
of the  lower l ev e l pro blem w ith fi le watc h i ng .  It ca me u p t hat perha psth e re
coul dbe a

of abstractions_for the_file watching functionality in_gulp.

vinyl-fs <_glob-watcher_< gaze_<_graceful-fs

  _ 
 _  
 _  __  * gulp.watch uses vfs.watch provided by vinyl-fs
    
 __ ___ * vfs.watch is actually_just glob-watcher (lol)
  _ 
_       *_glob-watcher_is a simple_20 line wrapper around gaze watch
   _
     _  *_gaze_uses_graceful-fs to watch full_paths
    

4 levels_of library abstraction for file watching._Something that the built-in
fs.watch handles natively.

Here's the_actual description of the gaze library_"A globbing fs.watch wrapper
built from_the best_parts of other fine watch_libs."

Yet apparently that_wasn't enough_as the gulp_authors had to toss in 2_more
layers on top_of it. And at the end_of_the day gulp_still_sucks_for watching
files_on linux.

I understand_that_there are_other_pieces of vfs that are being_used_by
gulp...but it still doesn't make any sense_to me how there_can_be SOOO many
accepted libraries_dealing with just file watching._And instead of making a
pull request_for new_features on_existing libraries, developers are just
building other libraries around them to do_what they want.

There's so much fragmentation_in the JS world_and no_one_can seem to_ever
agree_to work_together on anything. In comparison, in the_Python world_there's
pretty much one agreed upon library_for something like file_watching
"watchdog"._There are alternatives but it stands_out above all the rest.

~~~
contrahax
fs.watch actually_doesn't work just fine, not_sure_what_gave you that
impression. We went_with the best file watcher that_was around at_the time
because we didn't feel the need_to_write our own. The layers of_abstraction
are_there so other people can make_use_of_them as modules. We are_(and have
been) evaluating other solutions for_file watching but gaze is still the best
option for_us to use_under the hood.

~~~
thealphanerd
I've been stuck_in_file_watching hell before... CHOKIDAR!!!!!

I actually had a really interesting conversation_with Bert_Belder about some
of_the lower level problem with file watching. It came up_that perhaps there
could be a