mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
a278c7ae6f
commit
6c0f966ef8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export function createSettings(config: AstroConfig, cwd?: string): AstroSettings
|
||||||
|
|
||||||
const watchFiles = tsconfig?.exists ? [tsconfig.path, ...tsconfig.extendedPaths] : [];
|
const watchFiles = tsconfig?.exists ? [tsconfig.path, ...tsconfig.extendedPaths] : [];
|
||||||
|
|
||||||
if(cwd) {
|
if (cwd) {
|
||||||
watchFiles.push(fileURLToPath(new URL('./package.json', pathToFileURL(cwd))));
|
watchFiles.push(fileURLToPath(new URL('./package.json', pathToFileURL(cwd))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue