4 ms·
> How is the productivity benefits from not having to press F5 after I'm updating the code is worth a few days of setting up Webpack? It doesn't take a few day
by seanwilson 9y ago
> How is the productivity benefits from not having to press F5 after I'm updating the code is worth a few days of setting up Webpack?
It doesn't take a few days, it's more like a few hours, and it's completely worth it. It makes development much less frustrating, it reduces cognitive load (no switching back and fourth between windows) and it's faster (includes not having to get the app back into the state it was in before with hot reloading).
When compiling and reloading is something you're doing hundreds of times a week, a seemingly small improvement makes a huge difference to how enjoyable it is to work on a codebase which makes you more productive. I'd say the same thing about reducing a test suite run from 10 seconds to 1 second; it might only be saving you a few seconds each time but it makes you more productive because tightening the feedback loop reduces frustration which increases productivity.
There's nothing worse than attempting a fix, waiting 60 seconds in anticipation it worked, seeing the same error message as last time and then having to try again for instance.
- greenhatman 9y agoBesides that, you don't even have to set up Webpack yourself if you're using the vue-cli app to create your boilerplate. I've never set up Webpack myself, but I'm getting all the benefits.