Run rimraf on a directory in a subprocess to hack around slowness
@lerna/rimraf-dir> Run rimraf on a directory in a subprocess to hack around slowness
``js
const rimrafDir = require("@lerna/rimraf-dir");
rimrafDir("/path/to/directory").then(removedDir => {
console.log("removed", removedDir);
});
`
Install lerna for access to the lerna` CLI.