Skip to content

have addWatchTarget and module cache busting only run when --watch configuration is set #13

@thescientist13

Description

@thescientist13

In #11 , cache busting was added to support live reloading of modules in NodeJS. Ideally, this should only be enabled when in --watch mode just to avoid unnecessary overhead, specifically

  1. addWatchTarget
  2. eleventy.beforeWatch

Should probably add something to README too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions