Skip to content

Commit

Permalink
chore(gatsby-source-filesystem): remove outdated comments (gatsbyjs#9431
Browse files Browse the repository at this point in the history
)

The corresponding code was removed in gatsbyjs#8859.
  • Loading branch information
thorn0 authored and pieh committed Oct 26, 2018
1 parent eafc437 commit 08c1744
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ const { Machine } = require(`xstate`)
const { createFileNode } = require(`./create-file-node`)

/**
* Create a state machine to manage Chokidar's not-ready/ready states and for
* emitting file system events into Gatsby.
*
* On the latter, this solves the problem where if you call createNode for the
* same File node in quick succession, this can leave Gatsby's internal state
* in disarray causing queries to fail. The latter state machine tracks when
* Gatsby is "processing" a node update or when it's "idle". If updates come in
* while Gatsby is processing, we queue them until the system returns to an
* "idle" state.
* Create a state machine to manage Chokidar's not-ready/ready states.
*/
const createFSMachine = () =>
Machine({
Expand Down

0 comments on commit 08c1744

Please sign in to comment.