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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM