summaryrefslogtreecommitdiffstats
path: root/core/scripts
diff options
context:
space:
mode:
authorScott Reeves2017-08-25 19:40:22 (GMT)
committerScott Reeves2017-08-25 19:40:22 (GMT)
commit6eaa470d1482759fb3d1bbefa84a59211c91385c (patch)
treeaea2cdd5392e5a76a78ba12803890f7d31c4d3f1 /core/scripts
parent270628aa1d4f215577e701540188947d8eaa9674 (diff)
Issue #2902417 by drpal: Do not attempt to unlink not present *.js.map when watching JavaScript
Diffstat (limited to 'core/scripts')
-rw-r--r--core/scripts/js/babel-es6-watch.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/scripts/js/babel-es6-watch.js b/core/scripts/js/babel-es6-watch.js
index 9b49482..c9d1b14 100644
--- a/core/scripts/js/babel-es6-watch.js
+++ b/core/scripts/js/babel-es6-watch.js
@@ -39,8 +39,5 @@ watcher
fs.stat(`${fileName}.js`, () => {
fs.unlink(`${fileName}.js`, unlinkHandler);
});
- fs.stat(`${fileName}.js.map`, () => {
- fs.unlink(`${fileName}.js.map`, unlinkHandler);
- });
})
.on('ready', () => log(`Watching '${fileMatch}' for changes.`));