Skip to content

Instantly share code, notes, and snippets.

@artemave
Created January 29, 2019 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artemave/36a03e1b655ee0d808a18eb5bc833fff to your computer and use it in GitHub Desktop.
Save artemave/36a03e1b655ee0d808a18eb5bc833fff to your computer and use it in GitHub Desktop.
Regenerate tags file when files change
fswatch -0 -r . | xargs -0 -n 1 git ls-files | tee /dev/tty | xargs -n 1 ctags $(git ls-files)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment