JekyllBuildSettingsExtensions.

EnableWatch(JekyllBuildSettings, bool) Method

Summary

Sets if auto-regeneration of the site when files are modified be enabled. -w, --[no-]watch

Syntax

public static JekyllBuildSettings EnableWatch(this JekyllBuildSettings settings, bool enable = true)

Parameters

Name Type Description
settings JekyllBuildSettings The settings.
enable bool to watch for changes and rebuild, otherwise .

Return Value

Type Description
JekyllBuildSettings The settings instance with the Watch property updated with the value provided in enable.