Mac OS npm run dev CPU占用高问题解决

Installing the fsevents module on MacOSX will help reduce the CPU usage.

npm install fsevents -g

npm rebuild fsevents

 

参考:https://stackoverflow.com/questions/56768388/high-cpu-usage-from-node-js-when-running-vue-cli-service-serve

https://www.cnblogs.com/phpdragon/p/7401858.html

posted @ 2020-03-16 12:27  番茄土豆西红柿  阅读(1991)  评论(0编辑  收藏  举报
TOP