我正在尝试使用GitHub来托管一些html文件。在rake generate
命令生成公共文件夹之前,一切都很好,如Octopress文档中所述。但是,当我执行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.
答案 0 :(得分:1)
您的rake watch
命令正在按照您的要求执行操作:查看源文件以进行更改并根据需要重新生成它们。即使看起来Compass正在做一些你应该等待的事情,它真的等着你做点什么!尝试编辑博客文章或布局并保存更改,您应该看到类似的内容:
[2013-12-18 00:20:18] regeneration: 1 files changed
请注意,rake preview
命令也会包含Compass is polling for changes. Press Ctrl-C to Stop.
的最后一行,但您的预览服务器将正在运行,您的网站可在http://localhost:4000
或http://localhost:4000/ProjectName
查看如果你正在使用Github项目页面