Bugfixes for the logger subsystem
-
hotfix: redundant logs in the folder (#1268) - 2dabadd
Prevents uncontrolled creation of
detox_<pid>.logfiles in the current working directory, when using--record-logsand not specifying the location of the artifacts (which is an autogeneratedartifacts/<configuration>_<timestamp>folder). -
fix: stabilize simulator log recording (#1273) - 65e1975
Addresses sporadic hanging of a test runner due to a race condition caused by 3rd-party tail npm package: setTimeout (=> @watch()), 1000 . The tail object is apt to subscribe itself to FS events on the sly via creating a watcher (
fs.watch()) even afterfs.unwatch()has been called.