Skip to content

Skip update static files in dev mode #5950

Open
@lamyseba

Description

@lamyseba

Hi.
When I launch hugo server, my site take about 2 minutes to do the initial build. I have got a lot of images, and thumbnails of this images, so there are like 1750 static files, a lot of wich do never change. I launch the server with “–render to disk” and “-d” option, but it seems hugo still copies all the static files, even if they already exists in the destination directory. Is there a way to prevent hugo copying already existing static files when launching the server ? The options --noChmod and --noTimes didn’t help to shorten the initial build time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions