Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Sails.js アプリケーションが php クライアントと通信できるようにしたいと考えています。そのために、sails.js に新しいdnodeサーバー サービスを作成しました。このサービスは、dnode サーバーを開始できます。現在、リクエストによってコントローラーを使用してサーバーを起動しますが、サーバーは常にクライアントをリッスンする必要があります。残りが完全に充電されている場合にのみ、sails.js を開始するとすぐにサーバーを開始する正しい方法は何ですか?