如何清除mac上的phantomjs缓存? [英] How do I clear the phantomjs cache on a mac?

查看:173
本文介绍了如何清除mac上的phantomjs缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用业力测试时以某种方式损坏了phantomjs缓存(编写 pouchdb 测试)。我怎样才能清除这个缓存并回到我原来的测试环境?

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?

推荐答案

我花了好几天时间才弄明白所以我这样做了想我会在这里发布,只是

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!

这篇关于如何清除mac上的phantomjs缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆