kmagiera/babel-watch (babel-watch)
### [`v7.8.1`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.8.1)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.8.0...v7.8.1)
Uncategorized
- [#147](https://togithub.com/kmagiera/babel-watch/issues/147) Fix parse freesing on ignored files, catch and rethrow exception…
- PR: [#148](https://togithub.com/kmagiera/babel-watch/issues/148)
### [`v7.8.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.8.0)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.7.2...v7.8.0)
Uncategorized
- Fix: Add error forwarding from babel to stderr ([#143](https://togithub.com/kmagiera/babel-watch/issues/143))
- PR: [#144](https://togithub.com/kmagiera/babel-watch/issues/144)
- refactor(compile): use async fns ([#143](https://togithub.com/kmagiera/babel-watch/issues/143))
- PR: [#145](https://togithub.com/kmagiera/babel-watch/issues/145)
- feat(actions): add lint and changelog
- PR: [#146](https://togithub.com/kmagiera/babel-watch/issues/146)
### [`v7.7.2`](https://togithub.com/kmagiera/babel-watch/compare/v7.7.1...v7.7.2)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.7.1...v7.7.2)
### [`v7.7.1`](https://togithub.com/kmagiera/babel-watch/compare/v7.7.0...v7.7.1)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.7.0...v7.7.1)
### [`v7.7.0`](https://togithub.com/kmagiera/babel-watch/compare/v7.6.0...v7.7.0)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.6.0...v7.7.0)
### [`v7.6.0`](https://togithub.com/kmagiera/babel-watch/compare/v7.5.0...v7.6.0)
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.5.0...v7.6.0)
### [`v7.5.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.5.0): Add --config-file option
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.4.1...v7.5.0)
Small release to add the `--config-file` option. [#124](https://togithub.com/kmagiera/babel-watch/issues/124)
### [`v7.4.1`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.4.1): Fix regression in `--extensions`
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.4.0...v7.4.1)
This release fixes [#122](https://togithub.com/kmagiera/babel-watch/issues/122), which was caused by an unintended regression in `--extensions`. Babel's default extensions are always included. We may change this behavior in a major version bump but the behavior in v7 should not change.
### [`v7.4.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.4.0): `--watch` fix and BABEL_WATCH_NODE_OPTIONS
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.3.1...v7.4.0)
This release fixes two issues:
- [#98](https://togithub.com/kmagiera/babel-watch/issues/98): There wasn't a good way to reliably pass NODE_OPTIONS to the child. If you use `NODE_OPTIONS`, it will apply both to the `babel-watch` parent instance and to the child (your code), causing issues with options like `--inspect`. Therefore, I have added `BABEL_WATCH_NODE_OPTIONS`, which will be ignored by the parent and passed on to the child like you'd expect. In 99.9% of cases, this is what you want.
- See [the README](https://togithub.com/kmagiera/babel-watch/blob/f0f84b22fa9d457bb2b98c8e0a9ffdc1f1014275/README.md#node-options) for more details.
- [#120](https://togithub.com/kmagiera/babel-watch/issues/120): It appears the `--watch` option (i.e. `babel-watch --watch interfaces/ app.js`) didn't actually do anything very useful. It would add the folder to be watched by chokidar, but because it wasn't required by the application, `babel-watch` would simply execute no action on a modification. This is not intended so that logic has been removed, and you can now watch arbitrary folders and restart on them.
- Just be sure to add to `--extensions` if the files you're watching don't end in `.js`.
- If you need to exclude a path, use `--exclude`. Be careful not to use `--ignore`, which is instead passed to `babel`. In a later release I will rename this because it's confusing.
- See [the README](https://togithub.com/kmagiera/babel-watch/blob/f0f84b22fa9d457bb2b98c8e0a9ffdc1f1014275/README.md#options) for all options.
### [`v7.3.1`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.3.1): NPM package bugfix
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.3.0...v7.3.1)
An unexpected file made it into the package. This release removes it which greatly decreases the size of the unpacked module.
### [`v7.3.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.3.0): 7.3.0: Features!
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.2.0...v7.3.0)
A few new features in this release:
- Added `--before-restart` option. Use to synchronously execute a script between restarts ([#79](https://togithub.com/kmagiera/babel-watch/issues/79), [#80](https://togithub.com/kmagiera/babel-watch/issues/80), [#102](https://togithub.com/kmagiera/babel-watch/issues/102),[#108](https://togithub.com/kmagiera/babel-watch/issues/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` to manually restart. If you set `--restart-command=false`, the stdin handler is turned off entirely, which is desirable for certain interactive applications. ([#35](https://togithub.com/kmagiera/babel-watch/issues/35))
- Added sourcemaps when `--debug/--debug-brk/--inspect/--inspect-brk` are present. ([#62](https://togithub.com/kmagiera/babel-watch/issues/62), [#118](https://togithub.com/kmagiera/babel-watch/issues/118))
- Added `--no-debug-source-maps` to disable this behavior, which can be useful if you want to debug the raw transpiled output.
### [`v7.2.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.2.0): 7.2.0: New quality-of-life features!
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.1.0...v7.2.0)
Changes:
- Fix broken `--ignore` option, introduced in babel 7 upgrade. ([#106](https://togithub.com/kmagiera/babel-watch/issues/106), [#112](https://togithub.com/kmagiera/babel-watch/issues/112))
- Add `--clear-console` option ([#115](https://togithub.com/kmagiera/babel-watch/issues/115))
- Add `debug` module. Run with `env DEBUG="babel-watch:*" babel-watch [file]` to see debug output, including compiled files, ignored files, and init options.
- Updated README and help messaging.
### [`v7.1.0`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.1.0): 7.1.0: Long-awaited Bugfixes
[Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.0.0...v7.1.0)
We finally have publish access again, and have updated `babel-watch`!
See the [release diff](https://togithub.com/kmagiera/babel-watch/compare/v7.0.0...v7.1.0) for the exact changes.
Highlights:
- Fix an infinite loop bug when the pipe is closed ([#85](https://togithub.com/kmagiera/babel-watch/issues/85), [#46](https://togithub.com/kmagiera/babel-watch/issues/46), [#32](https://togithub.com/kmagiera/babel-watch/issues/32)).
- If you're using babel-watch and have seen a `node` process stick at 100% cpu from time to time, this is now fixed if you update!
- Updated Chokidar from v1 to v3, which improves performance & atomic writes handling ([#97](https://togithub.com/kmagiera/babel-watch/issues/97), [#101](https://togithub.com/kmagiera/babel-watch/issues/101), [#104](https://togithub.com/kmagiera/babel-watch/issues/104), [#105](https://togithub.com/kmagiera/babel-watch/issues/105))
- Debounce app restart to prevent missing cache deletions ([#99](https://togithub.com/kmagiera/babel-watch/issues/99))
- Fix a crash on improper use of `Buffer.from()` ([#100](https://togithub.com/kmagiera/babel-watch/issues/100))
Thanks [@kmagiera](https://togithub.com/kmagiera) for getting publish access into the hands of the community so we can fix these bugs.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
7.0.0
->7.8.1
Release Notes
kmagiera/babel-watch (babel-watch)
### [`v7.8.1`](https://togithub.com/kmagiera/babel-watch/releases/tag/v7.8.1) [Compare Source](https://togithub.com/kmagiera/babel-watch/compare/v7.8.0...v7.8.1)Uncategorized
- [#147](https://togithub.com/kmagiera/babel-watch/issues/147) Fix parse freesing on ignored files, catch and rethrow exception… - PR: [#148](https://togithub.com/kmagiera/babel-watch/issues/148)Uncategorized
- Fix: Add error forwarding from babel to stderr ([#143](https://togithub.com/kmagiera/babel-watch/issues/143)) - PR: [#144](https://togithub.com/kmagiera/babel-watch/issues/144) - refactor(compile): use async fns ([#143](https://togithub.com/kmagiera/babel-watch/issues/143)) - PR: [#145](https://togithub.com/kmagiera/babel-watch/issues/145) - feat(actions): add lint and changelog - PR: [#146](https://togithub.com/kmagiera/babel-watch/issues/146)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.