summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Preview/Server.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-11-27Flush log before starting web serverRobert1-0/+1
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)
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-0/+35