fix(windows): canonicalize native watch paths
This commit is contained in:
6
vendor/hmr/README.md
vendored
6
vendor/hmr/README.md
vendored
@@ -7,6 +7,12 @@ module caches, and reloads only the plugin entries that depend on changed
|
||||
application files. Changes to framework-level dependencies fall back to
|
||||
`loader.exit()`, letting the host process restart.
|
||||
|
||||
Module watches canonicalize their existing base directory before opening
|
||||
Chokidar. Exact config watches likewise canonicalize the deepest existing
|
||||
ancestor, then restore any missing suffix. Callbacks and diagnostics retain the
|
||||
requested absolute filename, while the native backend receives one filesystem
|
||||
spelling even when Windows supplied an 8.3 alias.
|
||||
|
||||
## Requirements
|
||||
|
||||
- `@cordisjs/plugin-loader`
|
||||
|
||||
Reference in New Issue
Block a user