Something I have not seen mentioned - just beware you might end up "stuck" at the new company doing nothing other than working with/on that very same piece of software you're currently working on.
They may never want to promote you or let you move to another team if you're "The Expert"(TM).
They may never want to promote you or let you move to another team if you're "The Expert"(TM).