我正在尝试使用github的octopress来托管一些html文件。一切正常,直到生成Octopress文档中提到的公共文件夹的rake generate命令但是,当我执行rake watch命令时,它会显示以下内容,并且在这些行之后不执行任何操作我已经停止它,重新安装了一切,但它的工作原理是一样的有什么想法吗?

Starting to watch source with Jekyll and Compass.
Configuration from /home/blackknight/octopress/_config.yml
Auto-regenerating enabled: source -> public
[2013-10-19 15:41:24] regeneration: 94 files changed
Change detected at 15:41:24 to: screen.scss
identical public/stylesheets/screen.css

Dear developers making use of FSSM in your projects,
FSSM is essentially dead at this point. Further development will
be taking place in the new shared guard/listen project. Please
let us know if you need help transitioning! ^_^b
- Travis Tilley

Compass is polling for changes. Press Ctrl-C to Stop.

最佳答案

您的rake watch命令正按您的要求执行:监视源文件的更改并根据需要重新生成它们尽管看起来指南针在做你应该等待的事情,但它真的在等待你去做一些事情尝试编辑博客文章或布局并保存更改,您将看到如下内容:
[2013-12-18 00:20:18] regeneration: 1 files changed
还要记住,rake preview命令还有最后一行Compass is polling for changes. Press Ctrl-C to Stop.,但是如果您使用的是github项目页面,那么您的预览服务器将运行,并且您的站点可以在http://localhost:4000http://localhost:4000/ProjectName处查看。

关于ruby - compass 在执行“rake install”时被击中,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19464895/

10-12 12:23
查看更多