Skip to content

fix(options): src match #4

Open
ryuujo1573 wants to merge 1 commit intokrymel:mainfrom
ryuujo1573:main
Open

fix(options): src match #4
ryuujo1573 wants to merge 1 commit intokrymel:mainfrom
ryuujo1573:main

Conversation

@ryuujo1573
Copy link
Copy Markdown

Given input:

{
    projectRoot: "./",
    srcEntryFile: "src/index.ts",
    srcMatch: "src/",
}

Expected: ctx.file from handleHotUpdate should be matched by "./src/" (both get expanded)
Actual: the dot "." is not recognised properly as a qualified matching path

About cross-platform compatibility: this works fine, for "node:path" resolves path well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant