Re: Bug Report: git status triggers a file change event
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 22, 2018, 05:22 UTC
- Message-ID
- <20180222052227.GA133592@aiede.svl.corp.google.com>
- In-Reply-To
- <CAPaSTm=Vhg+S0Cf7rkcvXKH1eaEbw5aGOfCmtU7K3D+1kc-pGg@mail.gmail.com>
+git-for-windows Hi,
Raining Chain wrote:
Show 11 quoted lines
> On Windows 10, git version 2.16.2.windows.1, running the command > > git status > > will trigger a file change event to file C:\myPath\.git "Attributes changed." > > This causes problems when using scripts that detect file changes such > as tsc -w (Typescript compiler) and using softwares that regularly > call git status such as VisualStudioCode. > > Thanks.
Can you say more about how "tsc -w" reacts to the file change? Is there a way to tell it to exclude particular files from the files it watches?
Thanks, Jonathan