Closed Minhir closed 2 years ago
It's impossible to use 0x with volumes mounted on different file systems.
Error: EXDEV: cross-device link not permitted, rename '/dir1/isolate-0x2f2a329ae330-418-418-v8.log' -> '/dir2/isolate-0x2f2a329ae330-418-418-v8.log'
The reason of such behavior is fs.rename. So I added fs-extra and use move instead.
fs.rename
fs-extra
move
P.S. Also, there was infinity loop in renameSafe. This is because of i++ :see_no_evil:
renameSafe
i++
Probably fix https://github.com/davidmarkclements/0x/issues/241
It's impossible to use 0x with volumes mounted on different file systems.
The reason of such behavior is
fs.rename
. So I addedfs-extra
and usemove
instead.P.S. Also, there was infinity loop in
renameSafe
. This is because ofi++
:see_no_evil:Probably fix https://github.com/davidmarkclements/0x/issues/241