yoshuawuyts / barracks

:mountain_railway: action dispatcher for unidirectional data flows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to "stop" a barracks app?

bengourley opened this issue · comments

I'm trying to figure out a way (might not even be possible) to "stop" a choo/barracks app for https://github.com/bengourley/choo-resume so that old versions of a hot-swapped app don't continue to run. I'm using it in conjunction with choo-log so each time the app hot-swaps, every action multiplies the amount of logs I get.

I'm thinking if we were able to replace all send() calls with noops then this would do the trick, but I can't see a way to achieve that with the existing hooks.

Halp 🤔

commented

Hmm yeah not sure either

On Tue, Nov 15, 2016, 22:46 Ben Gourley notifications@github.com wrote:

I'm trying to figure out a way (might not even be possible) to "stop" a
choo/barracks app for https://github.com/bengourley/choo-resume so that
old versions of a hot-swapped app don't continue to run. I'm using it in
conjunction with choo-log so each time the app hot-swaps, every action
multiplies the amount of logs I get.

I'm thinking if we were able to replace all send() calls with noops then
this would do the trick, but I can't see a way to achieve that with the
existing hooks.

Halp 🤔


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#75, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlerMpT1lGCcVaf5qSSndnnQP5QQIvks5q-ihEgaJpZM4KzD_4
.

commented

What might be great would be if we could add some of the hot reloading
stuff to bankai so a wider group of people will run into this and thus we
can prioritize finding a fix for this (:

On Fri, Nov 18, 2016, 15:32 yoshua wuyts yoshuawuyts@gmail.com wrote:

Hmm yeah not sure either

On Tue, Nov 15, 2016, 22:46 Ben Gourley notifications@github.com wrote:

I'm trying to figure out a way (might not even be possible) to "stop" a
choo/barracks app for https://github.com/bengourley/choo-resume so that
old versions of a hot-swapped app don't continue to run. I'm using it in
conjunction with choo-log so each time the app hot-swaps, every action
multiplies the amount of logs I get.

I'm thinking if we were able to replace all send() calls with noops then
this would do the trick, but I can't see a way to achieve that with the
existing hooks.

Halp 🤔


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#75, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlerMpT1lGCcVaf5qSSndnnQP5QQIvks5q-ihEgaJpZM4KzD_4
.