0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

node.jsを自動再起動させる、nodemonが最高

Last updated at Posted at 2019-06-25

単にnodemonを導入したら、開発が一気に楽になったから紹介するだけ

-gでグローバルインストールしています。

// nodemonのインストール
$ npm install -g nodemon

これだけで、ソースコードを書き換える度に、サーバーの再起動の手間が無くなります。

app.jsを叩いてサーバーを起動させる場合。

// nodemonの起動
$ npx nodemon app
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?