You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see a yarn flow restart command that runs yarn flow stop && yarn flow.
Use case
Sometimes when there is a single large write to the codebase such as flow-typed install or maybe git pull flow craps itself and doesn't recheck. A really simple way to fix this is to run yarn flow stop && yarn flow which is a stop and restart. It would be pretty great if I can just run yarn flow restart as a standard cli command so I don't need to configure every repo with npm scripts that does this for me because I manage multi repos
i'd selfishly like this too because during development I often switch between different binaries, and trying to use bash history but changing flow stop && flow start to flow-dev stop && flow-dev start is annoying :)
having to restart the server is bad though. I think we should add this command, but also try to understand the root cause any time someone needs to use it.
Activity
mroch commentedon Jun 26, 2021
i'd selfishly like this too because during development I often switch between different binaries, and trying to use bash history but changing
flow stop && flow starttoflow-dev stop && flow-dev startis annoying :)having to restart the server is bad though. I think we should add this command, but also try to understand the root cause any time someone needs to use it.
lyleunderwood commentedon Jun 26, 2021
Just as a potential data point, by far the most common reason I stop flow is to free up system memory 😛
Brianzchen commentedon Sep 7, 2021
@mroch checking does this mean that this will be in your future todo that we can expect?