sharedstreets / sharedstreets-js

SharedStreets (Node.js & Javascript)
https://sharedstreets.io
MIT License
78 stars 25 forks source link

Clear cache or write over it when there's been an error or version update #46

Closed emilyeros closed 5 years ago

emilyeros commented 5 years ago

(We've been doing this manually for testing the CLI)

We ran into this problem when trying to get the mobility connector up and running - we hit a timeout on creating tiles/graph, and then any future tests would use the cached files and get an error message. Would be great to clear this out automatically when necessary, otherwise we will need to troubleshoot this 1:1 with cities.

kpwebb commented 5 years ago

Cache now announces if the graph is incomplete and provides instructions to delete the directory.