1. 12 Feb, 2017 1 commit
  2. 11 Feb, 2017 1 commit
    • Brandon Istenes's avatar
      Make build exit with error code when interrupted (#1496) · e19b0f63
      Brandon Istenes authored
      * Make build exit with error code when interrupted
      
      This addresses issue #1493.
      
      Current behavior is that `npm run build` exits code 0 without creating a bundle when interrupted. This change makes the build script catch catchable interruptions and exit with the appropriate error code.
      
      * Better error messages for kill signals
      
      * Don't catch SIGINT
      
      Ctrl+C should exit silently, and already produces a non-zero exit code when sent to the console while `npm run build` is running. Exit code 0 is produced if SIGINT is sent directly to the `node build.js` process, but this is unlikely to happen. A SIGINT handler in `build.js` will also be triggered by Ctrl+C in the console, potentially producing unnecessary noise.
      
      * Style fix
      
      * No changes needed to build.js
      
      Problem is coming from the parent process, `react-scripts`
      
      * Make react-scripts script handle signals
      
      * Clarify context
      e19b0f63
  3. 19 Sep, 2016 1 commit
  4. 28 Aug, 2016 1 commit
  5. 01 Aug, 2016 1 commit
  6. 28 Jul, 2016 1 commit
  7. 25 Jul, 2016 1 commit
  8. 21 Jul, 2016 1 commit