Releases: parcel-bundler/watcher
v2.5.0
Added
- Support 32-bit arm musl platform
- Support npm
--build-from-source
flag to optionally build from source instead of using prebuilt packages. Can be used in conjunction with--no-optional
to prevent installing platform-specific dependencies.
Fixed
v2.4.0
Adds support for CommonJS (along with existing support for ESM) in @parcel/watcher-wasm
.
v2.3.0
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
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
v2.0.7
v2.0.6
v2.0.1
- Fixed a bunch of segfaults caused by multiple threads accessing same data
- Improved inotify error messages
- Improvements to windows build tools
v2.0.0
🥳
v2.0.0-alpha.11
2.0.0-alpha.11