Installing the fsevents module on MacOSX will help reduce the CPU usage.
fsevents
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