I’m in this position now as the only developer in a successful company that has been operating in lean startup mode for years and every employee has become “irreplaceable” with no contingency plans. I brought partnership up with the owner and he wouldn’t consider it. It’s going to be rough For them when I leave and any “friendships” will definitely be erased.