Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw
is officially deprecated and removed in OS X Yosemite. If you don't want to run sudo for gaviota-proxy(which then you can also debug) you have to handle the port forwarding with the program pf
.
Create file /etc/pf.anchors/mindflash
, the port forward needs to match your dev.js config for gaviota-proxy.