JS community will never stop to surprise me, both in negative and positive ways. This is certainly a great idea and I no wonder it came out of JS people.
Of course we got some fatigue in the ecosystem, but things like Webpack Dashboard strengthens my belief the fatigue is a tradeoff worth to pay.
I always wondered, can blessed/react-blessed be used in the browser? I've been looking for a good JS terminal emulator for a while (not something like [1] that connects to an actual shell session). Actually, this thing featured on HN recently via Nodal looks promising [2].
I think it stems from the language with it's simple untyped syntax and data-structures.
I like larger projects to be typed and my favorite language at the moment is definitely kotlin, but for quick prototyping I really like hacking things together in JS.
It's not just about being typed or not. I know huge, successful Ruby codebases which is not typed. Ruby ecosystem is just much more consistent and convenient than JS.
Webpack is supposed to be one of those things that you setup and then forget about and is likely not the only piece of bundling / building your application. So except for playing with this, admittedly pretty neat interface, I don't see how this fits in the typical webpack workflow. I'd be curious if they are logging metrics around how frequently it'll be used to see if it's something people are actually interested in or if it'll just be a neat thing everyone checks out once and then never goes back to it.
This isn't for setting up webpack (which you usually do once), but rather running it continuously in development mode. At Formidable it's normal for us each to have several long-running webpack-dev-server instances going at once, so we can just edit files and see the changes immediately.
Right but after you setup and start webpack do people actually look at the terminal to see it recompiling / etc? At least anecdotally I haven't heard of anyone doing that. You're not really going to be seeing much if anything important there unless you're looking for errors or something similar.
I do it to have a visual signal of when the new build should be ready and available on other devices (and so I can catch syntax errors).
It may also be nice to have an idea of the relative weight of each of your dependencies. Of course, since its in dev mode, what Dashboard shows probably isn't the same as the final bundle size.
I definitely keep the terminal open in the side of my window to catch any errors throughout the development process. I just set up Webpack Dashboard which was pretty easy, and now I can continue to keep my terminal up but I have an even easier way to view any errors that may crop up.
I think this is exactly the problem the author wanted to solve: you don't get info from the webpack logs. He/She wanted to do something that exposed useful info about webpack.
I dunno if you're doing it wrong (it sounds better than what I do), but my build for most projects won't build if there are warnings so I don't end up looking at the terminal unless there are errors that I don't really understand.
This is awesome! However, when I add it to my webpack config it does load the dashboard, but afterward still produces all the scrolled output. Anyone now how to remove the scrolled output and just show the dash?
How to you run webpack-dev-server during development? You might have a script in your package.json that runs it - if so, add --quiet to the end of the script there.
This was a side effect of all the traffic somehow, the HTTPS version should be working again shortly (looks like it's working for me now). Sorry for the hassle!
I can't get this to work with awesome-typescript-loader fork typechecker - it overwrites the screen and scrolls past the end - am I missing something obvious or is this not supported ?
When I disable it it works great, would be nice if I could use it with it.
LOL... I usually just have a `build.cmd` that I add to the prebuild that runs `CD /D %~dp0/.. ... npm run build` in a "scripts" directory. For those that won't leave VS... I just have a separate window open for watch task.
It will make the display of webpack information more organized and glance-able, which will improve my experience.
And I appreciate the aesthetics, nice looking things motivate me to work, so that's a bonus too. Anybody who says this is superficial doesn't know how humans think, and shouldn't be allowed to do UI/UX design.
Well I've been working on a big angular project for over a year and I couldn't tell you offhand what the ten biggest modules are in it or confirm with certainty every single one is still being used. Even though I know this is the sort of thing I should devote more attention to and for which there's ample tooling, having it staring me right there in the face every day when I run the server would be a big improvement.
Of course we got some fatigue in the ecosystem, but things like Webpack Dashboard strengthens my belief the fatigue is a tradeoff worth to pay.
BTW. if you like Blessed, certainly check out react-blessed: https://github.com/Yomguithereal/react-blessed