3
3

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.

NestJS: ソースコードを書き換えたとき、サーバが自動再起動するようにする

Posted at

NestJSで、開発中にソースコードが書き換わったとき、サーバが自動的に再起動するようにするには次のコマンドでサーバを起動する:

yarn start:dev

NestJSにはnodemon(ソースを監視して、自動でサーバーを再起動してくれるツール)が組み込まれており、なおかつ、npm scriptに"start:dev": "nodemon"が定義されているので、たったこれだけでOKです。

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?