How do I clear the phantomjs cache on a mac?

爱⌒轻易说出口 提交于 2019-12-02 08:18:29

问题


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?


回答1:


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!



来源:https://stackoverflow.com/questions/25578054/how-do-i-clear-the-phantomjs-cache-on-a-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!