Skip to content

7.3.0: Features!

Compare
Choose a tag to compare
@STRML STRML released this 05 Jan 22:49
· 33 commits to master since this release

A few new features in this release:

  • Added --before-restart option. Use to synchronously execute a script between restarts (#79, #80, #102,#108). For example:
    • babel-watch --before-restart="yarn lint" app.js
  • Added colors to output (and --no-colors option)
    • This changes the default RESTARTING message in favor of something a little less obnoxious. It also prints the files that caused the restart. You can still change it using --message.
  • Added --restart-command, so you can change the default rs<enter> to manually restart. If you set --restart-command=false, the stdin handler is turned off entirely, which is desirable for certain interactive applications. (#35)
  • Added sourcemaps when --debug/--debug-brk/--inspect/--inspect-brk are present. (#62, #118)
    • Added --no-debug-source-maps to disable this behavior, which can be useful if you want to debug the raw transpiled output.