Skip to content

Exclude certain directories from being tracked by dev mode #1091

Open
@TrevCraw

Description

@TrevCraw

While investigating #1073, it became apparent that the line COPY . /project in a Dockerfile causes devc to track changes for every single file inside of the current project. This leads to devc rebuilding the Docker image and restarting the container every time any file within the current project is modified. This is inefficient and essentially breaks hot deployment.

Devc should be prevented from tracking the entire current project directory. There should also be exclusions for any other directories that should not be tracked (eg. Liberty runtime?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions