All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add: Relax constraints to allow version
1.0
of dependencyfilesystem
(thanks @nshafer)
- Add: Automatically dereference symlinks during copy (requires Elixir 1.14) (thanks @derek-zhou)
- Fix: Choose the correct destination for files with nested watchers with Elixir before 1.12
- Fix: Tests requiring multiple file watchers for the same directory failed on Linux
- Fix: CI did not work due to lack of
inotify-tools
- Fix: CI now tests against Elixir 1.10 / OTP 21 as well as later versions
- Add: Profiles can include a
debounce
option to avoid duplicate copy events (thanks @kuon)
- Add: Run multiple profiles at once in
Phoenix.Copy.run/1
,Phoenix.Copy.watch/1
, andmix phx.copy
. - Fix: Support single-file source and destination paths.
- Fix: Use default latency of 500ms for watcher on macOS to reduce double-copies
- Add: Add some basic tests
- Fix: Removing a file no longer causes an error
- Add: Perform an initial copy when watcher starts
- Initial release
- Add:
mix phx.copy
task - Add:
Phoenix.Copy.watch/1
with Phoenix Endpoint watcher compatibility