-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Changes in a sub directory are treated as new documents on windows #383
Conversation
The globbing library used (tinyglobby) always returns paths with POSIX separators. This creates problems when a path is generated by the watcher, which uses the OS-specific separator. As a result, the file may not be found in the collection if the path separators differ. Closes: #373
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@content-collections/cli
@content-collections/core
@content-collections/integrations
@content-collections/markdown
@content-collections/mdx
@content-collections/next
@content-collections/remix-vite
@content-collections/solid-start
@content-collections/vite
commit: |
Increase the timeout for waitUntil to 5 seconds and increase the retries from 3 to 5 in order to make the tests pass on the Windows CI server.
We now run CI tests on Windows, so we no longer need the mocked path tests.
dbda76b
to
9f11122
Compare
9f11122
to
ecc9c98
Compare
The globbing library used (tinyglobby) always returns paths with POSIX separators.
This creates problems when a path is generated by the watcher,
which uses the OS-specific separator.
As a result, the file may not be found in the collection if the path separators differ.
This PR also contains changes to fix the unit tests on Windows and run the CI pipeline on Windows as well.
Closes #373