We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604e840 commit 706ab46Copy full SHA for 706ab46
src/cli/run.js
@@ -161,7 +161,7 @@ module.exports = function (argv) {
161
if (is.JSON(file)) {
162
var obj = JSON.parse(fs.readFileSync(file))
163
// Compare .json file content with in memory database
164
- var isDatabaseDifferent = !_.eq(obj, app.db.getState())
+ var isDatabaseDifferent = !_.isEqual(obj, app.db.getState())
165
if (isDatabaseDifferent) {
166
console.log(chalk.gray(' ' + file + ' has changed, reloading...'))
167
server && server.destroy()
0 commit comments