Skip to content

Commit

Permalink
Added missing refresh event (#227)
Browse files Browse the repository at this point in the history
* fix: test coverage file pattern

* fix: docs webserver missing refereshevent argument
  • Loading branch information
halcwb authored Jan 19, 2021
1 parent 1dda9ca commit 6f16e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content/Library/docsTool/WebServer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ module WebServer =
else
failwithf "failed to open browser on current OS"

let serveDocs docsDir =
let serveDocs refreshEvent docsDir =
async {
waitForPortInUse hostname port
sprintf "http://%s:%d/index.html" hostname port |> openBrowser
} |> Async.Start
startWebserver docsDir (sprintf "http://%s:%d" hostname port)
startWebserver refreshEvent docsDir (sprintf "http://%s:%d" hostname port)

0 comments on commit 6f16e2e

Please sign in to comment.