% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.tracksDir}
\alias{.tracksDir}
\title{Get the tracks directory and make sure shiny serves that very directory}
\usage{
.tracksDir()
}
\value{
string with the path to the tracks directory.
}
\description{
The "tracks" resource path is registered once, when the package
is loaded. The default directory lives under \code{tempdir()}, which is not
guaranteed to stay put for the life of the process: when it moves, files are
written to the new directory while shiny still serves the old one, and igv.js
gets a 404 for a file that exists on disk. Re-registering the path before
each write keeps the served directory and the written directory the same.
}
\keyword{internal}
