File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 22# Using convention in https://github.com/tidyverse/design/issues/126
33the <- rlang :: new_environment(
44 list (
5+ preview_infos = list (),
56 latest_stable = list (date = NULL , infos = NULL ),
67 latest_prerelease = list (date = NULL , infos = NULL )
78 ),
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ run_serve_daemon <- function(
2525 ps_key <- paste0(command , " _ps" )
2626 port_key <- paste0(command , " _port" )
2727 url_key <- paste0(command , " _url" )
28+
29+ quarto <- the $ preview_infos
30+
2831 # We don't need to keep previous url
2932 quarto [[url_key ]] <- NULL
3033
@@ -171,6 +174,7 @@ run_serve_daemon <- function(
171174}
172175
173176stop_serve_daemon <- function (command ) {
177+ quarto <- the $ preview_infos
174178 ps_key <- paste0(command , " _ps" )
175179 if (! is.null(quarto [[ps_key ]])) {
176180 if (quarto [[ps_key ]]$ is_alive()) {
You can’t perform that action at this time.
0 commit comments