当对根中的任何html文件进行更改时,yeoman会触发重新加载任务,但是,yeoman仅对http://localhost:3501/index.html
执行此操作。
我怎么让自耕农知道我想重装http://localhost:3501/bla.html
?
也许有些Gruntgile.js配置?
答案 0 :(得分:1)
Yeoman 1.0没有问题,这很容易安装。这是一个快速指南:
npm install -g yo grunt-cli bower
yo
以确认您安装了正确的版本。依赖性很少,它们被转移到基于每个项目的基础。
您可以在这里的网站上阅读更多内容http://yeoman.io Make sure that you read the migration guide.
注意:他们的wiki说它不适用于Windows,不再是这种情况了,我运行的是Windows 7,它就像魅力一样。