How do I clear the phantomjs cache on a mac?

前端 未结 1 1962
自闭症患者
自闭症患者 2021-01-23 18:28

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条回答
  • 2021-01-23 19:00

    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!

    0 讨论(0)
提交回复
热议问题