Git Product home page Git Product logo

Comments (6)

cemerick avatar cemerick commented on July 2, 2024

I don't seem to experience any serious consequences upon reloading the browser then reloading sources; dependencies appear to be loaded as expected…

That said, a refresh should yield option (1), not (2); though surely awesome, the intent of reloading the browser is to yield a clean slate, not a JS environment that has all previously-loaded code loaded again. Conveniently, it also has the benefit of being really easy to implement. :-P

from austin.

gtrak avatar gtrak commented on July 2, 2024

I'll try to get to this in the next couple of days (the clean slate option, I've spent a few hours already trying to figure out the reload option, and I need more closure experience and hammock time to pull it off, I think :-), not sure what's the timeline for 0.1.5.

from austin.

gtrak avatar gtrak commented on July 2, 2024

I'll just save off a snapshot of the env state in-memory after the first compilation so we can continue to cache it as a file.

from austin.

cemerick avatar cemerick commented on July 2, 2024

Is this something that you've already implemented in your tooling middleware, or is there a change/patch that should land here?

from austin.

gtrak avatar gtrak commented on July 2, 2024

I think I worked around this by always running a cljsbuild environment in
addition to the repl, I haven't seen the behavior in a while. I tried to
hack Austin to always reload whatever code has already been eval'd via
compiler state, but that became a mess very quickly.

On Saturday, August 23, 2014, Chas Emerick [email protected] wrote:

Is this something that you've already implemented in your tooling
middleware, or is there a change/patch that should land here?


Reply to this email directly or view it on GitHub
#54 (comment).

from austin.

cemerick avatar cemerick commented on July 2, 2024

Yeah, not surprising, especially since the compiler state will include all sorts of random snippets evaluated interactively (i.e. not whole files).

from austin.

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.