Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Simple Dynamic Site with Node.js Creating a Basic Template Engine in Node.js Making Our Views DRY

Tip. automate app restart with supervisor for lazy people.

sudo npm install supervisor -g

or "npm install supervisor -g" in workspace. With supervisor installed you no longer need to restart your app every time you reload the page. no more "node app.js everytime" With supervisor installed, every time you save project it will restart the server automatically and all you need to do is just refresh your page. Make sure after you install supervisor to run the app with it for the first time. "supervisor app.js" in the console and you are golden.

enjoy

nico dev
nico dev
20,364 Points

Yeah, me too! Big thanks.

It is indeed a fantastic tool!!

1 Answer

Anthony Attard
Anthony Attard
43,915 Points

Thanks for this tip! It will save a lot of time.