Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Setup a development mode in LoopBack API using nodemon

    loopbackLoopback
    ^3.0.0

    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.