mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Ignore .paperclip paths in restart tracking
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0bb1ee3caa
commit
43b21c6033
2 changed files with 9 additions and 1 deletions
|
|
@ -21,6 +21,9 @@ export function shouldTrackDevServerPath(relativePath) {
|
|||
const segments = normalizedPath.split("/");
|
||||
const basename = segments.at(-1) ?? normalizedPath;
|
||||
|
||||
if (segments.includes(".paperclip")) {
|
||||
return false;
|
||||
}
|
||||
if (ignoredTestConfigBasenames.has(basename)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue