Skip to content

Inconsistent pattern evaluation between build and watch modes #21

@reebalazs

Description

@reebalazs

Describe the bug

Build mode silently fails. with or without --build: same result.

It writes Using a pool of 8 threads., but no file is generated. It neither gives an error.

Watch mode with the same config works correctly.

I am running the script from the CLI, node 22, OSX darwin

EDIT I used the following test match pattern (which caused the problem, see conversation):

  "srcDir": "./(src|__tests__)/**/*"

Expected behavior

It should work without watch mode, with or without --build, and compile the files with a single run.

Test case

Please confirm this manually, if you can reproduce, I'm glad to spend more time to provide the test case. To me this is happening consistently with the newest version, but I have not noticed because I am checking in the compilation results to git and using watch mode.

If you cannot reproduce then I will work on figuring out why it happens in my environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions