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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just like
iris
(a Golang web framework) does.Perform hot reload automatically and safely, following these steps:
IN_CLOSE_WRITE
signal for new version binary.IN_CLOSE_WRITE
signal caught) Set executable permission to new version binary.handle().stop(true)
) the old version binaryAll steps can be done by myself except
4
Is it possible to provide a function to stop listening immediately so that the address/port can be used by new version binary?
Beta Was this translation helpful? Give feedback.
All reactions