简体   繁体   English

如何清除Mac上的phantomjs缓存?

[英]How do I clear the phantomjs cache on a mac?

I somehow corrupted the phantomjs cache while testing with karma (writing pouchdb tests). 在使用业力进行测试(编写pouchdb测试)时,我以某种方式破坏了phantomjs缓存。 How can I clear this cache and get back to my original testing enviornment? 如何清除此缓存并返回到我的原始测试环境?

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! 我希望这可以省去别人的麻烦!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM