Skip to content

Releases: faustinoaq/watcher

v0.3.0

17 Jun 21:00
a0f6a02

Choose a tag to compare

  • Fixes Crystal v0.25.0 compatibility (#6)

v0.2.3

25 Dec 07:13
64c44f0

Choose a tag to compare

  • Add Boolean flag to check if file is checked by first time
  • Change files format data from {filename => timestamp} to {filename => {flag, timestamp}}

v0.2.1

25 Dec 05:02
ed2bf45

Choose a tag to compare

  • Fix version on shard.yml file and Watcher::VERSION

v0.2.0

22 Jul 14:54

Choose a tag to compare

  • Fix interval argument
  • Add specs
  • Allow to use Float64 and Int32 as interval

v0.1.9

30 Apr 23:38

Choose a tag to compare

  • Fix interval issues

v0.1.7

02 Apr 22:33

Choose a tag to compare

  • Add documentation
  • Add the ability of change default watcher interval per watch
Watcher.watch(files, interval: 5) do |event|
  event.on_change do
    # ...
  end
end

v0.1.6

01 Apr 18:02

Choose a tag to compare

  • Add Watcher.interval to config file scan time interval (default 1.second)

v0.1.5

30 Mar 12:55

Choose a tag to compare

  • Remove default logs
  • Fix spec

v0.1.3

30 Mar 12:41

Choose a tag to compare

  • Change private method scan to scanner
  • Change event.change to event.status

v0.1.1

30 Mar 12:36

Choose a tag to compare

  • Fix watch is not expected to be invoked with a block, but a block was given.
  • Add private method Watcher.scan to detect new files