We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3aab1 commit 056c011Copy full SHA for 056c011
src/lwc-dev-server/index.ts
@@ -57,7 +57,9 @@ async function createLWCServerConfig(
57
const { namespace } = projectJson;
58
59
// e.g. lwc folders in force-app/main/default/lwc, package-dir/lwc
60
- const namespacePaths = (await Promise.all(packageDirs.map((dir) => glob(`${dir.fullPath}/**/lwc`)))).flat();
+ const namespacePaths = (
61
+ await Promise.all(packageDirs.map((dir) => glob(`${dir.fullPath}/**/lwc`, { absolute: true })))
62
+ ).flat();
63
64
const ports = serverPorts ??
65
(await ConfigUtils.getLocalDevServerPorts()) ?? {
0 commit comments