Skip to content

livereload fails to function without at least one 'page' present #8332

@jaybe-jekyll

Description

@jaybe-jekyll

My Environment

Software Version(s)
Operating System macOS Catalina
jekyll Latest
github-pages No

Expected Behaviour

Expect LiveReload to function regardless of a content type of 'page' present or not. For example - a site with only Collections.

Current Behavior

Unless your project has at least one 'page' content type, livereload will not function. It will appear to initialize and be prepared to function, but it will not... unless at least one 'page' content type exists within the project.

For example, if your project only leverages Collections and intends on not using any pages, livereload will not function properly.

To 'fix it'... one can simply create a static 'page' somewhere within the project.

Mentioning it in a bug report, because it's just odd. There must be checking for the presence of a 'page' before the livereload will function or something.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions