如何重新加载LoopBack项目?

时间:2018-01-28 08:04:56

标签: node.js npm loopbackjs

有没有办法在livereload中拥有reviews.likerUsers个项目?避免停止{ "_id" : ObjectId("5a6b8b734f1408137f79e2cc"), "reviews" : [ { "_id" : ObjectId("5a6cf7c41562160494238781"), "headline" : "", "body" : "", "likeUsers" : [ { "_id" : ObjectId("5a6b5f2e1fc2a11c5c83a6e2"), "username" : "", "firstname" : "", "lastname" : "" } ], "dislikeUsers" : [], "isCritic" : false, "isSpoilers" : false, "isTop" : true, "rate" : 3, "userId" : ObjectId("5a6b5f2e1fc2a11c5c83a6e2"), "date" : Timestamp(1517090823, 1) } ] } 命令并重新开始?

1 个答案:

答案 0 :(得分:4)

nodemon只会执行此操作:检测到文件系统发生更改时重新启动节点。