我看到我必须将liveReload插件设置为false,但不确定在何处设置它。在docpad.coffee中有某个插件配置部分
答案 0 :(得分:6)
在docpad项目的根文件夹中编辑docpad.coffee文件(或docpad.js)
docpadConfig:
...
# enabled example for live configuration
plugins:
livereload:
enabled: true
# enabled example for different environments
environments:
development: # change the name here if you have other environments
plugins:
livereload:
enabled: true
staging: # change the name here if you have other environments
plugins:
livereload:
enabled: true
...
有关配置文件的更多信息,请访问http://docpad.org/docs/config