我刚刚重新安装了整个系统并再次开始处理我的项目。我在其中一些中使用并且仍在使用 Jekyll,但是我在使用--auto
or_config.yml
的自动生成时遇到了问题auto: true
。它根本行不通。的输出jekyll --server --auto
是:
Configuration from /home/rafal/Documents/Projects/ruby-adventure/_config.yml
Auto-regenerating enabled: /home/rafal/Documents/Projects/ruby-adventure -> /home/rafal/Documents/Projects/ruby-adventure/_site
[2013-03-23 19:09:53] regeneration: 1 files changed
[2013-03-23 19:09:53] INFO WEBrick 1.3.1
[2013-03-23 19:09:53] INFO ruby 2.0.0 (2013-02-24) [x86_64-linux]
[2013-03-23 19:09:53] WARN TCPServer Error: Address already in use - bind(2)
[2013-03-23 19:09:53] INFO WEBrick::HTTPServer#start: pid=3288 port=4000
[2013-03-23 19:09:53] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
[2013-03-23 19:09:54] regeneration: 1 files changed
的输出jekyll --no-auto --server
是:
Configuration from /home/rafal/Documents/Projects/ruby-adventure/_config.yml
Building site: /home/rafal/Documents/Projects/ruby-adventure -> /home/rafal/Documents/Projects/ruby-adventure/_site
Successfully generated site: /home/rafal/Documents/Projects/ruby-adventure -> /home/rafal/Documents/Projects/ruby-adventure/_site
[2013-03-23 19:12:31] INFO WEBrick 1.3.1
[2013-03-23 19:12:31] INFO ruby 2.0.0 (2013-02-24) [x86_64-linux]
[2013-03-23 19:12:31] WARN TCPServer Error: Address already in use - bind(2)
[2013-03-23 19:12:31] INFO WEBrick::HTTPServer#start: pid=3327 port=4000
...所以没有错误弹出。该站点生成正常,但是当我更改文件时,它不会自动重新生成。任何想法为什么?