When I start Bokeh with “bokeh serve DirName --show” I find that session_created is executed twice: once for the --show and once for the server startup.
The one for the server startup does however not make sense in the our use case where we want to see the app only from a web browser.
I tried to skip running on_session_created in the first pass, but then Bokeh raises an error as it still tries to fill in the session document.
Any ideas?

