Skip to content

Commit 6066577

Browse files
authored
fix: hot reload not working on windows (#330)
1 parent 74668c5 commit 6066577

File tree

2 files changed

+902
-502
lines changed

2 files changed

+902
-502
lines changed

src/lwc-dev-server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function createLWCServerConfig(
3030
const { namespace } = projectJson;
3131

3232
// e.g. lwc folders in force-app/main/default/lwc, package-dir/lwc
33-
const namespacePaths = (await Promise.all(packageDirs.map((dir) => glob(`${dir.fullPath}/**/lwc`)))).flat();
33+
const namespacePaths = (await Promise.all(packageDirs.map((dir) => glob(`${dir.fullPath}/**/lwc`, { absolute: true })))).flat();
3434

3535
const ports = serverPorts ??
3636
(await ConfigUtils.getLocalDevServerPorts()) ?? {

0 commit comments

Comments
 (0)