Skip to content
Permalink
Browse files

fix(tools): Use polling to reliably watch challenges

  • Loading branch information...
ojeytonwilliams authored and raisedadead committed Jun 28, 2019
1 parent 438e7d4 commit cba35969f0c2052e6005bb82cc65bfae805e160b
Showing with 2 additions and 1 deletion.
  1. +2 −1 client/plugins/fcc-source-challenges/gatsby-node.js
@@ -28,7 +28,8 @@ exports.sourceNodes = function sourceChallengesSourceNodes(
const { createNode } = actions;
const watcher = chokidar.watch(curriculumPath, {
ignored: /(^|[\/\\])\../,
persistent: true
persistent: true,
usePolling: true
});

watcher.on('ready', sourceAndCreateNodes).on('change', filePath =>

0 comments on commit cba3596

Please sign in to comment.
You can’t perform that action at this time.