Monday, August 21, 2017

VS Code Ignore

Just found out how to get TFS to ignore files when using the TFS extension for VS Code.

1. Add a ,tfignore file to the root of the project
2. Add directories and files to ignore i.e.:
     node_modules\
     packages\
     .tfignore

Wednesday, August 9, 2017

NPM behind a proxy

Sitting behind a proxy and getting weird errors about tunnels not connecting (i.e. tunneling socket could not be established)? Download and run Fiddler (from Telerik), open the Rules menu and select Automatically Authenticate, then run these commands from the command prompt:

npm config set proxy http://localhost:8888
npm config set https-proxy http://localhost:8888