Git Product home page Git Product logo

Comments (7)

jeremyevans avatar jeremyevans commented on June 26, 2024 1

OK, thank you. I was working on a spec first, so once I have a failing spec, I can hopefully merge the PR and test that it fixes the issue.

from roda.

jeremyevans avatar jeremyevans commented on June 26, 2024

I agree this is a bug. We probably need the same type of code that the assets plugin uses, where you can pass an array of dependencies and it checks the mtime for all of them. Maybe we can pass the :dependencies option for the asset in the render call in the assets plugin, and then in render plugin, in retrieve_template, after creating the TemplateMtimeWrapper, set the dependencies on the template if render_opts[:dependencies] is set. Then in TemplateMtimeWrapper#modifed?, have it check all dependencies as well as the path itself, similar to the code in the assets plugin.

from roda.

jeremyevans avatar jeremyevans commented on June 26, 2024

@jgarth Is this something you plan to work on in the near future? If not, I can work on it before the next release.

from roda.

jgarth avatar jgarth commented on June 26, 2024

Yes, I'd like to submit a PR over the weekend. However, if this is more urgent to you then by all means go ahead.

from roda.

jeremyevans avatar jeremyevans commented on June 26, 2024

That sounds great. The weekend should be fine. The next release isn't for a couple weeks.

from roda.

jeremyevans avatar jeremyevans commented on June 26, 2024

I plan to work on this shortly.

from roda.

jgarth avatar jgarth commented on June 26, 2024

I added a PR with what I currently have, but I failed to incept a proper spec for the changes to the asset plugin

from roda.

Related Issues (20)

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.