🍅 automatoes.com

Launch Localhost in Incognito to a Specific Port

For many web devs, Chrome Incognito Mode is a way to disable plugins from inteferring with our dev environments.

Put the following in a incog file:

open -na "Google Chrome" --args --incognito "http://localhost:$1"

Usage:

incog 3000

Tags:

Contributor: [John Lindquist]

edit
Launch Localhost in Incognito to a Specific Port