Note git's core.longpaths in CONTRIBUTING (#45069)

* Note git's core.longpaths in CONTRIBUTING

So people will be able to clone the repo on Windows.
However, I'm not sure whether this addresses running tests.

* Address PR comments
This commit is contained in:
Nathan Shively-Sanders
2022-03-04 15:45:10 -08:00
committed by GitHub
parent 751c114126
commit 774899f8b9

View File

@@ -81,6 +81,10 @@ If you prefer to develop using containers, this repository includes a [developme
The TypeScript repository is relatively large. To save some time, you might want to clone it without the repo's full history using `git clone --depth=1`.
### Filename too long on Windows
You might need to run `git config --global core.longpaths true` before cloning TypeScript on Windows.
### Using local builds
Run `gulp` to build a version of the compiler/language service that reflects changes you've made. You can then run `node <repo-root>/built/local/tsc.js` in place of `tsc` in your project. For example, to run `tsc --watch` from within the root of the repository on a file called `test.ts`, you can run `node ./built/local/tsc.js --watch test.ts`.