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:
parent
b162ae725f
commit
8e4ed70585
3 changed files with 5 additions and 2 deletions
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue