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

猜你喜欢

转载自www.cnblogs.com/robinunix/p/12503033.html
今日推荐