Re:VSCode, Dev Containers and Docker
by misiti3780 on Thursday January 21, 2021 @10:46AM
(#25860068)
Agreed, try running webpack in debug mode with watch it's basically not-usable, as is git and install npm packages.
[ Parent
| on HN ]
npm / webpack: That's not Docker's fault - that's node/JS's fault. Having to touch thousands and thousands of files is expensive. This is why I've come to loath web frontend development.
It's definitely Docker that's the problem. It's a well known problem, and people are working on solutions. It affects far more than NPM and Webpack.
Re:VSCode, Dev Containers and Docker
by commandlinefan on Thursday January 21, 2021 @11:11AM
(#25860393)
> I've come to loath web frontend development.
Well, we don't have to do things this way just because everybody else does... developing "vanilla" Javascript is actually a pleasure especially with tools like Chrome's debugger. In my experience, front-end "frameworks" like Angular and React provide very little value and tons of unnecessary overhead.
Re:VSCode, Dev Containers and Docker
by potta_coffee on Thursday January 21, 2021 @11:36AM
(#25860737)
Show me the team that's using vanilla JS, I'd like to sign up.
Same problem with PHP development, anyone trying to develop on windows for any real world framework will have epic IO lags, sometimes crashes with composer (equivalent to npm) and ALSO during execution time.
Is this composer/PHP/Symfony-Laravel-whatever's fault ? Is it the caching lib fault ?
I work on linux, but try to onboard windows dev frequently ("windows dev", ikr ;) . The experience is always painful, and despite many efforts from the WSL team to move forward, docker for development on Windows is still barely usable right now ...