用grunt server启动静态页面,打开浏览器不用刷新页面。
在idea的Terminal中输入:npm install 回车
之后输入:bower install 回车
输入:grunt server。
这样改好之后,再次改代码不用手动刷新浏览器,浏览器会自己刷新。