JekyllServeSettingsExtensions.

EnableWatch(JekyllServeSettings, bool) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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