diff options
author | Scott Reeves <Cottser@1167326.no-reply.drupal.org> | 2017-08-25 15:40:22 -0400 |
---|---|---|
committer | Scott Reeves <Cottser@1167326.no-reply.drupal.org> | 2017-08-25 15:40:22 -0400 |
commit | 6eaa470d1482759fb3d1bbefa84a59211c91385c (patch) | |
tree | aea2cdd5392e5a76a78ba12803890f7d31c4d3f1 /core/scripts/js/babel-es6-watch.js | |
parent | 270628aa1d4f215577e701540188947d8eaa9674 (diff) | |
download | drupal-6eaa470d1482759fb3d1bbefa84a59211c91385c.tar.gz drupal-6eaa470d1482759fb3d1bbefa84a59211c91385c.zip |
Issue #2902417 by drpal: Do not attempt to unlink not present *.js.map when watching JavaScript
Diffstat (limited to 'core/scripts/js/babel-es6-watch.js')
-rw-r--r-- | core/scripts/js/babel-es6-watch.js | 3 |
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 9b494822369..c9d1b147e03 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.`)); |