#!/bin/bash
cd "$(dirname "$0")"
. ~/.nvm/nvm.sh
nvm use stable && npm run dev
Then name that file “whatever.command”. When you double-click it, it’ll launch a terminal and run the command. I pop these in my dock for projects I’m always opening…
open .
In a weird folder in your terminal? That’s right open . – I do this all the time 😛
sudo killall coreaudiod
For years osx has had weird audio issues – from strange crackling to audio just randomly failing across the board. This still seems to solve it…
defaults write com.apple.dock no-bouncing -bool TRUE;
I have never liked those bouncing icons in osx…