Sha256: 7da582cd3c9b0458ade981ba1e9b881f79da7315a4a1fadf4894469995fd3434

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

require 'fssm'

path = ARGV[0]
FSSM.monitor(path, '**/*') do
  update do |base, relative|
    p 'file updated'
    p "base: #{base}"
    p "relative: #{relative}"
  end

  delete {|base, relative|}
  create {|base, relative|}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rwiki-0.2.4 tmp/fssm_test.rb
rwiki-0.2.3 tmp/fssm_test.rb
rwiki-0.2.2 tmp/fssm_test.rb
rwiki-0.2.1 tmp/fssm_test.rb
rwiki-0.1.3 tmp/fssm_test.rb