File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export serve, servedocs
12
12
#
13
13
14
14
""" Script to insert on a page for live reload, see `client.html`."""
15
- const BROWSER_RELOAD_SCRIPT = read (joinpath (dirname ( pathof (LiveServer)) , " client.html" ), String)
15
+ const BROWSER_RELOAD_SCRIPT = read (joinpath (@__DIR__ , " client.html" ), String)
16
16
17
17
""" Whether to display messages while serving or not, see [`verbose`](@ref)."""
18
18
const VERBOSE = Ref {Bool} (false )
Original file line number Diff line number Diff line change 1
1
@testset " Server/Paths " begin
2
2
# requested path --> a filesystem path
3
3
bk = pwd ()
4
- cd (dirname ( dirname ( pathof (LiveServer)) ))
4
+ cd (joinpath ( @__DIR__ , " .. " ))
5
5
req = " tmp"
6
6
@test LS. get_fs_path (req) == " "
7
7
req = " /test/dummies/index.html"
You can’t perform that action at this time.
0 commit comments