Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed User Authentication With Express and Mongo!
You have completed User Authentication With Express and Mongo!
Preview
Nodemon is a great tool to use when developing an Express app. It lets you make changes to your JavaScript code and immediately see those changes in a browser, without having to manually stop and start the server.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
This tells the node process to run
the JavaScript and the app.js file.
0:00
But there are other ways to start up
this app, and one that's perfect for
0:02
rapid development cycle
where you're writing your app.
0:05
Another common way to start up
an express app is to add a start task
0:08
to the package.json file.
0:12
The start task can start
the Express app for you and
0:14
it can run commands with additional
arguments if you need them.
0:17
For example, the start task could start
up a server on a specific port and
0:20
also specify some settings for the server.
0:24
In fact in our package.json file,
you'll see there's already a start task.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up