Staying at the same company for a long time usually makes you more valuable to that company without making you more valuable to other companies (sometimes making you less valuable if all you've ever used is the custom toolset at that one company instead of more popular tools)