We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 459ddf5 commit 2879dceCopy full SHA for 2879dce
src/cli/run.js
@@ -168,7 +168,7 @@ module.exports = function (argv) {
168
chokidar
169
.watch(path.dirname(source))
170
.on('change', function (file) {
171
- if (file === source) {
+ if (path.resolve(file) === path.resolve(source)) {
172
if (is.JSON(file)) {
173
var obj = JSON.parse(fs.readFileSync(file))
174
// Compare .json file content with in memory database
0 commit comments