about summary refs log tree commit homepage
path: root/lib/dtas/watchable/inotify.rb
blob: eface0e718a8882eb5d45bec6f53214c60c67be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (C) 2013-2019 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