Skip to content

CAN should begin watching an existing scratchfile on startup

To avoid the user having to remove and recreate the scratchfile for each session of CAN, CAN should check for and watch an existing scratchfile at startup time.

CAN fires a SCRATCHFILE_CREATED event. This is a similar but distinct event whic may repeat in multiple contexts if CAN allows multiple scratchfiles in the future - SCRATCHFILE_FOUND. CAN should fire a SCRATCHFILE_FOUND event when an existing scratchfile is found. CAN's watch-scratchfile handler should listen to the SCRATCHFILE_FOUND event.

References