That's all very well, right up until your router dies, or your ISP has a wobble, or someone puts a back-hoe through a cable, or screws up a BGP or DNS update, or your host changes their terms of service, or has a power outage, or goes bankrupt, or...
Unlikely, you say? All this, and more besides, has happened in the last twelve months, to every tier of service and provider.
On the other hand, my dev environment (with the exception of any online documentation I don't have a local copy of) will survive all of the above, and more besides.
The only thing that would stop me coding would be locally-applied force majure... or a Firefly marathon.