create-rescript-app icon indicating copy to clipboard operation
create-rescript-app copied to clipboard

Ignore .devcontainer when checking for empty directory on project generation

Open dlouwers opened this issue 6 months ago • 0 comments

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.

dlouwers avatar Aug 18 '24 08:08 dlouwers