Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

why is the dev server generating .gitignore #841

@juliusmarminge

Description

@juliusmarminge

Which package manager are you using? (Yarn is recommended)

pnpm (known issues due to Metro)

Summary

I enabled the experimental typedRoutes features and ever since expo router is generating a .gitignore everytime i run dev.

I think it's kinda silly to generate this file multiple times, I tend to not have nested gitignores in my monorepos but just keep a general purpose one in root, so having expo-router generate one for me everytime i run dev is kinda annoying


I think it's fair to assume devs can put things in their gitignores themselves, and you don't have to generate it for us.

Minimal reproducible example

Happy to provide one if you deem necessary, for now just check out create-t3-turbo where i have the gitignore in root and don't want one in the expo directory

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