spring-watcher-listen icon indicating copy to clipboard operation
spring-watcher-listen copied to clipboard

Even when spring is disabled, this gem still tries to watch files

Open RobinClowers opened this issue 7 years ago • 5 comments

In my CI env, I export DISABLE_SPRING=1, but then I get errors about increasing the inotify limits anyway. It seems like this gem shouldn't try to do anything if spring is disabled.

RobinClowers avatar May 10 '17 19:05 RobinClowers

I can confirm this. On my production server after opening the console, spring keeps active, consuming memory, only way to kill it until now: ps ax | grep spring | cut -f1 -d' ' | xargs kill

Hendrikv1990 avatar May 23 '17 12:05 Hendrikv1990

only way to kill it until now: ps ax | grep spring | cut -f1 -d' ' | xargs kill

$ pkill spring does the job for me ;-)

doits avatar Feb 06 '18 09:02 doits

Guys, why are you using spring on production or CI?

milushov avatar Jun 11 '20 20:06 milushov

I honestly don't remember which project this was for now, but I most certainly wasn't trying to use spring in production or CI. The reason I opened the bug is that it was trying to run in CI, even though I explicitly disabled it.

RobinClowers avatar Jun 11 '20 20:06 RobinClowers

@RobinClowers Is it legal to reply messages on github so fast? 🙈

milushov avatar Jun 11 '20 21:06 milushov