This question already has an answer here:
I work in a small business - it's me and my boss. He generally handles support calls and sales while I am a mixture of web dev, database admin, windows mobile developer etc. basically all aspects of computing and software.
I spend most of my time fixing bugs and doing stuff with data, and developing the odd thing. Without me, the business would be screwed after a while, although a lot of clients could chug along OK without support.
my boss wants me to begin a massive rebuild of our windows mobile platform and basically rework everything to work on android. I keep trying to make it clear that this is a big project, especially since I have next to no experience in android development. I can certainly do it, but it'll take a long time.
The big problem is, I want to tell him I'll be leaving within a few months. I have a job opening up with a family member soon that I really want to jump on. I thought it would be best to give my boss as much notice as possible to find a replacement, but I am just finding it so difficult to tell him for various reasons:
before he hired me, he struggled for months to find someone. he took a chance on me as an inexperienced graduate who was unemployed for quite a while
he feels more like someone who is my dad's friend than a 'colleague'. I feel guilty about leaving because he'll probably have to pay a LOT more for someone new, and it'll take time to find them which could hurt the business
he's always been a very generous boss. i work from home and i am paid well for how little work i actually have to do. he's extremely flexible and lenient with things like sick days and holidays etc.
he's worried about our platform not being supported in windows 10 and many of our clients upgrading soon, which is why he wants to do the android rebuild. if I leave and clients begin upgrading, he could lose a lot of business in the meantime and it could hurt the reputation
if his business is hurt bad enough it could screw his family over
is it a case of just ripping off the band-aid? I am certainly not intending to pass up on the good opportunity as I'm pretty bored of this job after almost 4 years.