This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In


Setup a development mode in LoopBack API using nodemon

In this lesson we will learn to create a development mode for our server. We do this by installing nodemon as a dev dependency and creating a script tag called 'dev'.

This script tag will execute the command nodemon server/server.js --watch common --watch server.

We can execute this command by running npm run dev.

When running in development mode the server will be automatically restarted when there are changes detected in the common and server directories.

Please take a moment to tell your friends:

You must be a PRO Member to view code