Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Ensure Box.sandbox() doesn't leave lingering tmp-* directories #12

Open
gnidan opened this issue Jan 15, 2018 · 0 comments
Open

Ensure Box.sandbox() doesn't leave lingering tmp-* directories #12

gnidan opened this issue Jan 15, 2018 · 0 comments
Assignees

Comments

@gnidan
Copy link
Contributor

gnidan commented Jan 15, 2018

Right now other Truffle projects (mostly truffle-core for tests) use this static method to create a Truffle project in a local temp directory.

These directories persist beyond the process lifecycle, so the local directory ends up getting quite polluted.

It'd be nice for these directories to automatically get cleaned up when the process exits. We almost certainly want to delete these temp directories for exit 0; non-zero exit codes may warrant leaving the directory around (in case we want to inspect what went wrong).

@cgewecke cgewecke self-assigned this Jan 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants