You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the --root option to work with source files in an alternate location, the dev server doesn't remember this option on configuration changes and restarts.
To reproduce the issue, see the example below or do this:
What version of
astro
are you using?[email protected]
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
If you use the
--root
option to work with source files in an alternate location, the dev server doesn't remember this option on configuration changes and restarts.To reproduce the issue, see the example below or do this:
site
directorysrc
andastro.config.mjs
intosite
--root ./site
option to theastro
scripts inpackage.json
tsconfig.json
), see the dev server restart and forget the--root
optionLink to Minimal Reproducible Example
https://stackblitz.com/edit/github-ewfvvj?file=package.json,astro.config.mjs,tsconfig.json,README.md&on=stackblitz
Participation
The text was updated successfully, but these errors were encountered: