TORIPIYO DIARY

recent events, IoT, programming, security topics

heroku

Restart nodejs application on file change or error output in "heroku local" command

This article is English translation of http://toripiyo.hatenablog.com/entry/2018/03/11/185532 Japanese article.I am deploying nodejs application on heroku platform as production. In local environment I use "heroku local" command to run app…

heroku localでnodejsアプリを起動した時にファイルの変更やエラーによる停止を検知して再起動するように設定

開発しているnodejsアプリケーションの本番環境はherokuにデプロイしているのですが、ローカル環境ではheroku localコマンドを利用してローカルマシンにアプリケーションを立ち上げています。 heroku localによるアプリケーションの立ち上げ時に、ファイルの…