module Opal

def self.dependent_files

watching)
All files that Opal depends on while compiling (for cache keying and
def self.dependent_files
  # We want to ensure the compiler and any Gemfile/gemspec (for development)
  # stays untouched
  opal_path = File.expand_path('..', Opal.gem_dir)
  files = Dir["#{opal_path}/{Gemfile*,*.gemspec,lib/**/*}"]
  # Also check if parser wasn't changed:
  files += $LOADED_FEATURES.grep(%r{lib/(parser|ast)})
  files
end