diff options
author | Robert <rob@vllmrt.net> | 2019-11-27 14:53:08 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2019-11-27 07:53:08 -0600 |
commit | e7f0df00098af7ccdcea2124ec1758cbbde65747 (patch) | |
tree | 2d5e485336e56b1ca297117745ae208753839c4f /lib/Hakyll/Web | |
parent | f2778e12046eb5f5eb4d377669b94b13dffc24fb (diff) | |
download | hakyll-e7f0df00098af7ccdcea2124ec1758cbbde65747.tar.gz |
Flush log before starting web server
This fixes out of order console messaging in the case of errors
binding to the configured address, though the message order is
still a bit weird.
Before:
$ stack exec site watch
Initialising...
Creating store...
site: Network.Socket.bind: resource busy (Address already in use)
Creating provider...
Listening on http://127.0.0.1:8000
After:
$ stack exec site watch
Listening on http://127.0.0.1:8000
Initialising...
Creating store...
Creating provider...
site: Network.Socket.bind: resource busy (Address already in use)
Diffstat (limited to 'lib/Hakyll/Web')
0 files changed, 0 insertions, 0 deletions