Gracefully shutdown Bot when App refreshes on changes

When the app refreshes, we send a SIGTERM to it. You can handle SIGTERM signals in your app: https://nodejs.org/api/process.html#process_signal_events

3 Likes