Running “uglify:generated” (uglify) task takes a very long time.
使用 jenkins
部署程序,在需要使用 grunt
对前端文件进行处理时,容易出现 cpu
占满的情况。输入如下命令可以解决。
yum –enablerepo=epel -y install cpulimit
cpulimit -e grunt -l 70
Running “uglify:generated” (uglify) task takes a very long time.