문제

I see I have to set the liveReload plugin eanbled to false, but not sure where to set it. Is there a plugin config section somewhere in docpad.coffee

도움이 되었습니까?

해결책

In the root folder of your docpad project edit the docpad.coffee file (or 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
    ...

more information about the configuration file is here - http://docpad.org/docs/config

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top