Module: GuardHelpers::OpalHelper
- Includes:
- BaseHelper
- Defined in:
- lib/guard_helpers/opal_helper.rb
Instance Method Summary collapse
Instance Method Details
#run_on_modifications(paths) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/guard_helpers/opal_helper.rb', line 15 def run_on_modifications(paths) super if defined? super #handle_all_paths(%r{^app/assets/javascripts/(.+)\.rb$}) do # path_basenames = paths.map do |path| # File.basename(path) # end # notify "Handling opal files #{path_basenames}" # ::RoCells::Opal.new.handle #end end |
#start ⇒ Object
8 9 10 11 12 13 |
# File 'lib/guard_helpers/opal_helper.rb', line 8 def start super if defined? super cmds = ::Pry::CommandSet.new do end ::Pry::Commands.import cmds end |