Skip to content

Releases: parcel-bundler/watcher

v2.4.0

15 Jan 22:22
Compare
Choose a tag to compare

Adds support for CommonJS (along with existing support for ESM) in @parcel/watcher-wasm.

v2.3.0

24 Aug 04:13
Compare
Choose a tag to compare

Features

  • Add a kqueue backend to support FreeBSD, or as an alternative to FSEvents on macOS
  • Add a WASM backend, for use in environments where native modules cannot run (e.g. on the web in environments like Stackblitz, or unsupported processor architectures/operating systems). Use the @parcel/watcher-wasm package instead of @parcel/watcher in these cases. Note that this is much less efficient than using native OS-specific APIs, so keep using the native packages where possible.
  • Migrate to napi thread safe functions, which allows using @parcel/watcher from multiple Node.js worker threads
  • Add a 32-bit windows build, useful if users accidentally installed a 32-bit version of Node

v2.2.0

02 Jul 03:46
Compare
Choose a tag to compare

This release migrates to a new method of distribution. Rather than including binaries for all operating systems and architectures inside the @parcel/watcher package, there are now individual packages per platform (e.g. @parcel/watcher-darwin-x64). Each of these is an optional dependency of the main watcher package. This way, npm and other package managers will install only the binary for the platform you are running on. This reduces bandwidth and disk space.

This also enabled us to add pre-compiled binaries for more platforms, meaning you don't need to have a C++ compiler to install the watcher. This should help with some minimal Docker environments especially. The architectures with prebuilds available now include:

  • darwin-x64
  • darwin-arm64
  • win32-x64
  • win32-arm64
  • linux-x64-glibc
  • linux-x64-musl
  • linux-arm64-glibc
  • linux-arm64-musl
  • linux-arm-glibc (32-bit arm v7)
  • android-arm64

v2.1.0

05 Jan 05:33
Compare
Choose a tag to compare
  • Support simple glob patterns for ignore rules – #106
  • fix: Prevent directory locking on Windows – #121

v2.0.7

04 Nov 05:03
Compare
Choose a tag to compare

v2.0.6

02 Nov 02:45
Compare
Choose a tag to compare
  • Update debounce to emit the first update immediately, and always emit at least one event every 500ms – #113
  • Improve support for mounted file systems on macOS – #108
  • Fix segmentation fault on Linux by storing inotify subscription paths – #103

v2.0.1

03 Nov 08:22
Compare
Choose a tag to compare
  • Fixed a bunch of segfaults caused by multiple threads accessing same data
  • Improved inotify error messages
  • Improvements to windows build tools

v2.0.0

08 Oct 18:18
Compare
Choose a tag to compare

🥳

v2.0.0-alpha.11

31 Aug 16:40
Compare
Choose a tag to compare
2.0.0-alpha.11

v2.0.0-alpha.9

08 Nov 20:19
Compare
Choose a tag to compare
2.0.0-alpha.9