Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[json-loader] Only log file events if we're past bootstrap #4826

Merged
merged 5 commits into from
Apr 3, 2018

Commits on Mar 31, 2018

  1. Don't emit new file node until previous is finished processing

    This is an experiment to use
    [xstate](http://davidkpiano.github.io/xstate/docs/#/) to setup state
    machines to better handle complex state changes as we sometimes have.
    
    Ideally this happens in core and then gatsby-source-filesystem
    just has a simple queue and emits a new file node every time
    the system returns to idle.
    
    In a future refactor we'll do that plus refactor other parts of core
    that should be handled in a state machine e.g. pages-query-runner.js
    
    This PR also reinforced the need for us to implement
    [tracing](https://github.com/jaegertracing/jaeger) in core / plugins
    as that'd make it far far easier to understand what's happening and
    when.
    KyleAMathews committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    26aff44 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2018

  1. Configuration menu
    Copy the full SHA
    df53d15 View commit details
    Browse the repository at this point in the history
  2. Remove console.log

    KyleAMathews committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    ca561f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0831d93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67e74be View commit details
    Browse the repository at this point in the history