I Don't Use Nodemon Anymore - I Do This Instead!

  Рет қаралды 33,554

James Q Quick

James Q Quick

Жыл бұрын

You don't need Nodemon anymore!! Node.js 18.11+ has a built in watch parameter that replaces Nodemon.
Check out Kelvin's KZbin Channel - / @dominuskelvin
*QUESTIONS ABOUT MY SETUP*
Check out my Uses page for my VS Code setup, what recording equipment I use, etc. www.jamesqquick.com/uses
*STAY IN TOUCH 👋*
Check out the Podcast - compressed.fm/
Courses - jamesqquick.com/courses
Newsletter 🗞 - www.jamesqquick.com/newsletter
Follow me on Twitter 🐦 - / jamesqquick
*DISCORD*
Join the Learn Build Teach Discord Server 💬 - / discord

Пікірлер: 93
@dominuskelvin
@dominuskelvin Жыл бұрын
Oh my! James! I really wasn’t expecting a shoutout. Thank you so much and awesome content as always ❤
@keithin8a
@keithin8a Жыл бұрын
This was really good information! I've never even thought to look whether it is built in now!
@marty4372
@marty4372 Жыл бұрын
cheez, amazing feature, thaks James for the video!!
@LePhenixGD
@LePhenixGD Жыл бұрын
Amazing new feature, thank you for showcasing it James!
@lewiduressa
@lewiduressa Жыл бұрын
Sheeesh. Literally the only place to find this info. Fire!!
@toddribnek6660
@toddribnek6660 Жыл бұрын
Cool. I also like live server reload as a vs code extension which does something similar just in the browser instead of the terminal
@christopheanfry2425
@christopheanfry2425 Жыл бұрын
Always good tips thanks !!!
@yannisevangelou2904
@yannisevangelou2904 Жыл бұрын
Thanks, James, useful tip as always. Nodemon used to crash or not work in node v12 when used in large apps (tested in multiple environments). Do you think this built-in way would work in larger apps?
@sshenbagaraaj
@sshenbagaraaj 2 ай бұрын
Hi James, This is a amazing one. Thanks a lot.
@barvaliyabhargav9495
@barvaliyabhargav9495 Жыл бұрын
thank you so much for sharing such a valuable content in this Chenal, keep it up
@maskman4821
@maskman4821 Жыл бұрын
Thank you for the information 🙏
@yumeyuki1944
@yumeyuki1944 Жыл бұрын
You still need it (or something else) if you use TS
@redwoodJB
@redwoodJB Жыл бұрын
Wait, what!? It's impossible keeping up with all the technology. Thanks for helping many of us at least try.
@DevOpsDirective
@DevOpsDirective Жыл бұрын
When I used the --watch-path option with node v19.4.0 it worked... but it also prevented any of my logs from showing 😱
@ppena120
@ppena120 Жыл бұрын
Love your videos. Super helpful
@JamesQQuick
@JamesQQuick 11 ай бұрын
So glad to hear that :)
@colbyfayock
@colbyfayock Жыл бұрын
This is awesome. Also super nice use nvm for showing the differences between versions
@JamesQQuick
@JamesQQuick Жыл бұрын
hehe thanks!
@apex-lazer
@apex-lazer 10 ай бұрын
and super quick too 😊
@aribudimn1789
@aribudimn1789 Жыл бұрын
thankyou... it helps me a lot...
@ajeet.pratap.singh1
@ajeet.pratap.singh1 9 ай бұрын
Thanks a lot man ❤.
@ParasProgramming123
@ParasProgramming123 Жыл бұрын
Thanks for information
@fluttterdev1k
@fluttterdev1k 10 ай бұрын
thanks dude the best solution ever
@svitak1987
@svitak1987 6 ай бұрын
Nice, but how do you stop it?
@amansheikhkhan5937
@amansheikhkhan5937 Жыл бұрын
Thank you
@Jatin-Rohilla.
@Jatin-Rohilla. 4 ай бұрын
loads of thanks from India
@flatmapper
@flatmapper Жыл бұрын
Can you share the docs for -watch, please?
@omaribrahim4636
@omaribrahim4636 4 ай бұрын
thank you bro
@ottercoder9321
@ottercoder9321 Жыл бұрын
Awesome feature
@samialvi4226
@samialvi4226 4 ай бұрын
Thanks a tons
@vishalyadav630
@vishalyadav630 9 ай бұрын
Does it work on version 13.14 ..if yes then give soultion if not then also give nodemon solution
@DarkzarichV2
@DarkzarichV2 Жыл бұрын
ts-node can't do that yet so sticking to other options for TypeScript compilation for now 🐈
@pakkavideos
@pakkavideos Жыл бұрын
Can you explain how to debug node js using chrome dev tool
@pxlbltz
@pxlbltz 4 ай бұрын
We are currently at version 21.7.0 and this feature is still experimental 🤔 The docs also say that the --watch-path option is not available on Linux. Strange.
@williamdevonshire356
@williamdevonshire356 Жыл бұрын
WOOOOOOOOOOO!!!!! TO THE FUTURE!!!!
@benjaminraedev
@benjaminraedev Жыл бұрын
I tried using node’s new watch mode in a project and found that it just wasn’t stable enough yet
@AngelHdzMultimedia
@AngelHdzMultimedia 9 ай бұрын
Anyone having issues with --watch in VSCode? Mine keeps doing an infinite loop of rebuilds. Then I run it without --watch and everything is good. Then I re-add --watch and the loop... and so on until later it becomes stable. Happens in any kind of new project I make.
@crazydauzy8887
@crazydauzy8887 4 ай бұрын
thank you
@gauravmandal01
@gauravmandal01 Жыл бұрын
thanks fro saving day
@nparashar150
@nparashar150 Жыл бұрын
Thanks for the info
@neilm9400
@neilm9400 Жыл бұрын
I liked nodemon, since it came with a supporting JSON file, on what you wanted to watch.
@samuelmoore9181
@samuelmoore9181 Жыл бұрын
What about handling restarts after crashes though?
@fbarriosdr
@fbarriosdr Жыл бұрын
Thank you for the tip. It's very useful. Bye Nodemon
@carlosfelipearaujo
@carlosfelipearaujo Жыл бұрын
Thanks, nodemon doesnt work well on my machine using Fedora Linux
@user-lm5ju8nc2t
@user-lm5ju8nc2t Жыл бұрын
Hey, how did you make your terminal to give you suggestions?
@JamesQQuick
@JamesQQuick Жыл бұрын
It's a tool called fig.io. It's amazing!
@realRohit001
@realRohit001 Жыл бұрын
Could you tell me which theme and font you are using? Thanks 😊
@JamesQQuick
@JamesQQuick Жыл бұрын
All of these details are on my uses page! www.jamesqquick.com/uses/
@idtenuun
@idtenuun Жыл бұрын
hi vscode theme name ? font name ? ternimal
@wizardoflightnings6841
@wizardoflightnings6841 Жыл бұрын
Best!
@VeniMitev
@VeniMitev Жыл бұрын
How do you use this with TypeScript? I use "nodemon --exec ts-node --esm src/server.ts"
@dominuskelvin
@dominuskelvin Жыл бұрын
I love the convenience of the watch flag.
@atomboyd
@atomboyd Жыл бұрын
Here's a link to Kelvin's channel www.youtube.com/@dominuskelvin
@JamesQQuick
@JamesQQuick Жыл бұрын
Great call! I added it to the description too! Thank you :)
@chrisdizzle313
@chrisdizzle313 Жыл бұрын
Sickkkk
@TomNook.
@TomNook. Жыл бұрын
I still use it to keep the demons away
@abdulhannan288
@abdulhannan288 10 ай бұрын
But it is an experimental feature and can change at any time
@codeSTACKr
@codeSTACKr Жыл бұрын
🤯Whoa!!
@jorgefallas6347
@jorgefallas6347 Жыл бұрын
Link to Kelvin's channel is wrong.
@JamesQQuick
@JamesQQuick Жыл бұрын
Fixed! Thank you!!
@erikslorenz
@erikslorenz Жыл бұрын
Nodemon will use ts-node by default if you have it installed
@bendevweb89
@bendevweb89 Жыл бұрын
I don't know if I preferred the intro or the subject of the video 😄
@apoorvaaman
@apoorvaaman Жыл бұрын
Same goes for tools like vite, nextjs and even angular - rebuild/re-run as soon as files are changed.
@ashuzon
@ashuzon Жыл бұрын
Lemme guess vite?
@MaxProgramming
@MaxProgramming Жыл бұрын
Wait WHAT 🙀
@soltsdev
@soltsdev Жыл бұрын
node --watch thank you
@ir5had
@ir5had Жыл бұрын
My expression was the same as yours when I heard this.
@hechmark
@hechmark Жыл бұрын
it just killed the nodemon library hehe!
@jawwaadsabree5573
@jawwaadsabree5573 Жыл бұрын
Please link kelvin’s channel 😠
@JamesQQuick
@JamesQQuick Жыл бұрын
www.youtube.com/@dominuskelvin
@jawwaadsabree5573
@jawwaadsabree5573 Жыл бұрын
@@JamesQQuick 😃
@JokeryEU
@JokeryEU Жыл бұрын
you forgot to say its experimental also its simplistic not many options like nodemon, will still use nodemon
@flatmapper
@flatmapper Жыл бұрын
Experimental not for production(
@andTutin
@andTutin Жыл бұрын
okay
@Remls
@Remls Жыл бұрын
no👹
@jaylove5555
@jaylove5555 Жыл бұрын
Say what?
@user-jr4ze8je7d
@user-jr4ze8je7d 2 ай бұрын
IS THIS A JOKE OR SOMETHING, WHY CONTAINS TOO MUCH DRAMA.? CANT WASTE MY TIME IN SINGLE SECS MAN!
@user-jr4ze8je7d
@user-jr4ze8je7d 2 ай бұрын
A JOKE BROHH, WHT IS THT , TOO MUCH UNNECSARY CONTENTS
@mikevaleriano9557
@mikevaleriano9557 Жыл бұрын
If you're not a psycopath and use TypeScript like YOU SHOULD, I guess you still need to use nodemon, or ts-node-dev.
@Rust_Rust_Rust
@Rust_Rust_Rust Жыл бұрын
Is there no way around this if you use typescript?
@leandrocampos3430
@leandrocampos3430 Жыл бұрын
i really sugest you to take a look at tsx too
@joostschuur
@joostschuur Жыл бұрын
@@leandrocampos3430 True non-psychopaths use tsx
@altairbueno5637
@altairbueno5637 Жыл бұрын
Deno 4 the win
@antonpieper
@antonpieper Жыл бұрын
@@altairbueno5637 or tsnode
@fernandoaugustoortolan7521
@fernandoaugustoortolan7521 Жыл бұрын
thank you
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Your App Is NOT Secure If You Don’t Use CSRF Tokens
9:57
Web Dev Simplified
Рет қаралды 125 М.
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 37 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 56 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 634 М.
These Coding Projects Give You An Unfair Advantage
14:39
Harkirat Singh
Рет қаралды 337 М.
Top 5 Async Mistakes for JavaScript Beginners (Don’t make these!)
15:11
Why I Don’t Use Arrow Functions With const/let
6:48
Web Dev Simplified
Рет қаралды 184 М.
Node.js: The Documentary | An origin story
1:02:49
Honeypot
Рет қаралды 550 М.
How To Use TypeScript With Express & Node
17:05
Colt Steele
Рет қаралды 66 М.
ASMR Programming - Weather App With Javascript - No Talking
20:30
AsmrProg
Рет қаралды 2,7 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН