Skip to content

Ignore .devcontainer when checking for empty directory on project generation #69

Open
@dlouwers

Description

@dlouwers

Current issue

We are doing all our development inside devcontainers. This means that on bootstrapping a project there will always be a .devcontainer folder in the root of the project. This will provide, in our case, bun and node. At this point we would run bun create but that's not possible cause there is a .devcontainer folder present.

Proposed solution

create rescript-app ignores any .devcontainer folder as this is presumed to be necessary for bootstrapping.

Current workaround

After starting the devcontainer move the .devcontainer folder to /tmp and move it back after project creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions