Fix crash when watching renamed files on FreeBSD (#12193)

* Fix file watching bug when renaming files on FreeBSD

* Update changelog

* Add delay to test

* Bump delay

* Update test
This commit is contained in:
Jordan Pittman 2023-10-17 09:50:35 -04:00
parent b162ae725f
commit 8e4ed70585
3 changed files with 5 additions and 2 deletions

View file

@ -352,6 +352,8 @@ describe('watcher', () => {
)
await runningProcess.onStderr(ready)
await new Promise((resolve) => setTimeout(resolve, 5000))
expect(await readOutputFile('index.css')).toIncludeCss(
css`
.btn {
@ -409,5 +411,5 @@ describe('watcher', () => {
}
return runningProcess.stop()
})
}, 30000)
})