2

I'm really new to the Grunt plugin Assemble, and indeed Grunt itself. Assemble looks potentially useful for a project I'm starting, but I have one (probably very newb-ish) question.

Having generated a site using the Assemble generator for Yeoman, is there a way of viewing changes without using Grunt to rebuild every time? My feeling is there is a way of watching the project directory for changes, and doing some kind of partial (i.e. assemble -> HTML pages, SASS -> CSS etc) build on changes, but I have yet to find it...

Update I'm homing in on something, it seems like grunt-contrib-watch might be what I'm after...

Update If anyone with the requisite reputation sees this, would it be worth creating an assemble (or assemble.io) tag?

4

1 回答 1

3

如果它可以帮助其他人,创建一个“监视”Grunt 任务(使用 grunt-contrib-watch)确实是我需要的。

这里有一个关于创建 Assemble 项目的优秀教程,同一个人 (Matt Bailey) 组装了一个 Yeoman 生成器,它按照指南设置了一个项目,这里

于 2013-07-12T08:30:46.163 回答