Q:

How do I clear the phantomjs cache on a mac?

I somehow corrupted the phantomjs cache while testing with karma (writing pouchdb tests). How can I clear this cache and get back to my original testing enviornment?

A:

It took me days to figure this out so I figured I'd post it here, just 
rm -rf ~/Library/Application\ Support/Ofi\ Labs/PhantomJS/*

I hope this saves someone else the hassle!

