Join Joseph LeBlanc for an in-depth discussion in this video Restarting scripts automatically, part of Node.js First Look (2012).
When writing code, you'll often want to make a change, then see the results of…that change right away.…Node has a tool available that will automatically run your code again whenever a…file change is saved to disk.…We're going to use a tool called NPM and it's a command that is shipped with Node.…NPM allows us to install more Node modules that are distributed outside of the…core distribution of Node.…To use it, type in npm.…NPM allows you to install, remove, and update Node modules on your computer.…
We're going to use the install command.…We want to install the node-dev module.…And finally, we want to use the -g flag, so we install it as a global module.…If you hit Return and let it install, most likely you'll get a bunch of errors.…This is because the node-dev module gets installed as a command.…Commands typically need to be written to the binary path of your computer.…To get around this, we're going to type in sudo.…
Pull up the previous command and then append sudo to the beginning.…Now node-dev is installed on our computer.…
- Using the Socket.IO Node package to achieve "live" effects like Facebook notifications
- Scraping web sites using jQuery without a browser
Skill Level Beginner
Q: Does the instruction from "Selecting through browserless jQuery" work for Windows users?
A: The “Selecting through browserless jQuery” video does not work on Windows
XHTML and HTML Essential Trainingwith Bill Weinman4h 44m Beginner
1. Installing Node
2. Getting Started
Running a Node script2m 6s
4. Command Line Scripts
5. Creating Web Servers
7. WebSocket Programming
8. Connecting Beyond Node
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.