Skip to content

Commit 09f4ec6

Browse files
committed
Allow arbitrary directories
1 parent f4c2e59 commit 09f4ec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/QuartoNotebookWorker/src/refresh.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ function refresh!(path, original_options, options = original_options)
1414
cd(dirname(NotebookState.PROJECT[]))
1515
elseif isdir(NotebookState.PROJECT[])
1616
cd(NotebookState.PROJECT[])
17+
elseif isdir(ed)
18+
cd(ed)
1719
else
1820
@warn "Project path not found: $(NotebookState.PROJECT[])"
1921
end

0 commit comments

Comments
 (0)