about summary refs log tree commit homepage
path: root/lib/dtas/watchable/inotify.rb
blob: 36b57466f3c30a92b6d651483791181a784a3b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org>
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
# frozen_string_literal: true
require 'sleepy_penguin'

# used to restart DTAS::Source::SplitFX processing in dtas-player
# if the YAML file is edited
class DTAS::Watchable::InotifyReadableIter < SleepyPenguin::Inotify # :nodoc:
  include DTAS::Watchable::InotifyCommon
  def self.new
    super(:CLOEXEC)
  end
end