用npm进行全局安装
npm install live-server -g
在项目目录中打开
live-server
原文:http://www.cnblogs.com/loewe0202/p/7927586.html