Skip to content

cobalt serve shouldn't rebuild when an ignored files change #1197

Open
@skierpage

Description

@skierpage
% cd myBlog
% cobalt serve &
Watching "/tmp/myBlog" for changes
Serving /tmp/.tmpKWpOeX through static file server
Server Listening on http://localhost:1024
Ctrl-c to stop the server
Watching "/tmp/myBlog" for changes

% touch _IGNORED_FILE
Building from `/tmp/myBlog` into `/tmp/.tmpKWpOeX`

Expected result:

If a file is ignored by cobalt serve and cobalt build and is not a directory or file known to Cobalt such as _cobalt.yml, _defaults, and _layouts, then changing it should not trigger a rebuild.

Cobalt is so fast to rebuild that this is a minor bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions