Coder Social home page Coder Social logo

guard-handlebars's People

Contributors

aiwilliams avatar raldred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

guard-handlebars's Issues

NoMethodError: undefined method `run_on_change' deprecated has been removed

This guard extension attempts to notify other watchers when files change.
However it assumes that the other watchers implement the run_on_change method

When they don't you get the following error:

NoMethodError: undefined method `run_on_change' for #<Guard::Jammit:0x000001048c9ec0>
NoMethodError: undefined method `run_on_change' for #<Guard::Jammit:0x000001048c9ec0>

The error crashes the watcher process for handlebars templates.
This manual notifying is not necessary and should be removed also run_on_change should be renamed to run_on_modification

The API was changed in of Guard 1.1.
https://github.com/guard/guard/wiki/Upgrade-guide-for-existing-guards-to-Guard-v1.1

Not pushed as a gem & bundle exec

First, thanks for pulling this together.

I tried adding this to my Gemfile and bundle install could not find it. I don't think it has been pushed to rubygems yet.

If it is pushed elsewhere, it might be good to keep a copy in rubygems as well.

I forked the project and pointed my gemfile at the repository as a fix and it works fine except it requires "bundle exec" in order to see guard/handlebars (unlike guard/haml and guard/coffeescript). I took a look and couldn't find the difference but thought I would report it here for now in case this gets solved. I'll report back if I happen upon it at a later date.

Thanks again for your work on this!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.