Skip to content

Flag for "don't ignore anything" #275

@max-sixty

Description

@max-sixty

Is your feature request related to a problem? Please describe.

I often want to see what files a process changes, and I run something like this and then run the process:

 watchexec --no-vcs-ignore --no-default-ignore --print-events -- echo 1

But I realize there are actually 4 separate ignore flags that I should be passing to see every file change:

        --no-default-ignore    Skip auto-ignoring of commonly ignored globs
        --no-global-ignore     Skip auto-loading of global or environment-wide ignore files
        --no-project-ignore    Skip auto-loading of project ignore files (.gitignore, .ignore, etc)
        --no-vcs-ignore        Skip auto-loading of VCS (Git, etc) ignore files

Describe the solution you'd like
What do you think about having --no-ignore (or a different name) to not have any ignores?

Describe alternatives you've considered

fd & rg both use -u as unrestricted, so passing -uu is unrestricted in hidden files and ignores. I'm not sure there's a hierarchy here such that we can progressively add on us, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureRequests or requires a new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions