Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch mode ignores file paths with non empty brackets on windows #301

Open
1 of 2 tasks
ZachHaber opened this issue Sep 5, 2023 · 0 comments
Open
1 of 2 tasks

Watch mode ignores file paths with non empty brackets on windows #301

ZachHaber opened this issue Sep 5, 2023 · 0 comments
Labels
bug Something isn't working pending triage watch

Comments

@ZachHaber
Copy link

ZachHaber commented Sep 5, 2023

Problem

On Windows, changing a file with a directory path that includes non-empty brackets ({env} for example) doesn't trigger watch mode to update.
It appears to be related to paulmillr/chokidar#699 and paulmillr/chokidar#300

Expected behavior

I expect that changing and saving an imported file will always trigger watch mode to restart so I can see the results of my changes regardless of the path to the file.

Minimal reproduction URL

https://github.com/ZachHaber/tsx-windows-path-error

Version

3.12.8

Node.js version

v18.16.1

Package manager

npm

Operating system

Windows

Contributions

  • I plan to open a pull request for this issue
  • I plan to make a financial contribution to this project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage watch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants