getappmap / appmap-js

Client libraries for AppMap
49 stars 17 forks source link

appmap_dir is re-scanned every few seconds #742

Closed brikelly closed 2 years ago

brikelly commented 2 years ago

Chokidar sometimes fails to notice new map files in appmap_dir, which is a serious UX issue given how our product needs to index and analyze them the moment they appear. Most fs-watching libraries - including chokidar - recommend a full rescan periodically in case they don't pick up a file, so we should do that too.

Given that we'll only be scanning in a single directory and doing so non-recursively, it should be very lightweight and fast to rescan. We will initially start with a 5 second period between full rescans.

appland-release commented 2 years ago

:tada: This issue has been resolved in version @appland/appmap-v3.40.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

appland-release commented 2 years ago

:tada: This issue has been resolved in version @appland/scanner-v1.70.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: