[go-nuts] Re: looking for a hot reloader/producer package

2016-10-04 Thread Egon
On Tuesday, 4 October 2016 16:23:05 UTC+3, mhh...@gmail.com wrote: > > On Tuesday, October 4, 2016 at 1:55:56 PM UTC+2, Egon wrote: >> >> On Tuesday, 4 October 2016 14:11:03 UTC+3, mhh...@gmail.com wrote: >>> >>> Hi! >>> >>> I m not sure to get why you say 2-4 is not worthy. >>> >>> Is it because

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-04 Thread mhhcbon
On Tuesday, October 4, 2016 at 1:55:56 PM UTC+2, Egon wrote: > > On Tuesday, 4 October 2016 14:11:03 UTC+3, mhh...@gmail.com wrote: >> >> Hi! >> >> I m not sure to get why you say 2-4 is not worthy. >> >> Is it because it seems there is no generic implementation of such >> behavior ? >> > > I've

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-04 Thread Egon
On Tuesday, 4 October 2016 14:11:03 UTC+3, mhh...@gmail.com wrote: > > Hi! > > I m not sure to get why you say 2-4 is not worthy. > > Is it because it seems there is no generic implementation of such behavior > ? > I've written 3-6 hot reloaders, and I've yet to stumble on a "great general purp

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-04 Thread mhhcbon
Hi! I m not sure to get why you say 2-4 is not worthy. Is it because it seems there is no generic implementation of such behavior ? Which leads to costly copy pastes. Or some side effects that may occur and which make it to difficult to maintain to even attempt to write it ? I made a new vers

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-03 Thread Egon
On Tuesday, 4 October 2016 00:57:57 UTC+3, mhh...@gmail.com wrote: > > Hi, > > I ll sleep on your code to digest it again. > > Yet agree i should not have these shared Registry, > and that your tree walk is way simpler. > > I may have some disagreements about 0 and 1, but it does not worth > me

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-03 Thread mhhcbon
Hi, I ll sleep on your code to digest it again. Yet agree i should not have these shared Registry, and that your tree walk is way simpler. I may have some disagreements about 0 and 1, but it does not worth mentioning, its all very contextual. thanks! -- You received this message because you

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-03 Thread Egon
On Monday, 3 October 2016 20:55:45 UTC+3, mhh...@gmail.com wrote: > > Hi, > > I m looking for a package which would call a producer when a fs event is > emitted. > > Doing so i could reload templates everytime they changed without > restarting the app. > Based on complexity: 1. For template

[go-nuts] Re: looking for a hot reloader/producer package

2016-10-03 Thread mhhcbon
A quick&dirty implementation would look likes this https://gist.github.com/mh-cbon/9eb7701e57a8f37bb7e62647dc9726e8 And for my last Q, http://stackoverflow.com/questions/21447463/is-assigning-a-pointer-atomic-in-golang If you have anything battled tested pkg i d be happy to see it in action! -