working on hot reloading

This commit is contained in:
2024-08-26 16:30:29 -06:00
parent 0af6ffa8f5
commit f7e13fb6aa
11 changed files with 57 additions and 88 deletions

View File

@@ -38,8 +38,8 @@ export const fileStorageService = {
async directoryExists(directoryPath: string): Promise<boolean> {
try {
const stat = await fs.stat(directoryPath);
return stat.isDirectory();
await fs.access(directoryPath);
return true;
} catch {
return false;
}