fix(element): Enable SPA fallback in element dev server

This commit is contained in:
2025-12-08 12:31:38 +00:00
parent ec268802ca
commit 660a480317
3 changed files with 8 additions and 1 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tswatch',
version: '2.3.0',
version: '2.3.1',
description: 'A development tool for automatically watching and re-compiling TypeScript projects upon detecting file changes, enhancing developer workflows.'
}

View File

@@ -72,6 +72,7 @@ export class TsWatch {
serveDir: plugins.path.join(paths.cwd, './dist_watch/'),
port: 3002,
compression: true,
spaFallback: true,
});
const bundleAndReloadElement = async () => {