Friday, 2 June 2017

How to set up Procfile to run basic Node script on Heroku?

Let's say I wanted to just run a basic script looking like the one below:function printHello(){ console.log('hello world'); } setInterval(printHello, 5000); How would the Procfile have to look?

Submitted June 02, 2017 at 07:45PM by TheLegendOfCode

No comments:

Post a Comment