Giter VIP home page Giter VIP logo

Comments (6)

technomancy avatar technomancy commented on June 12, 2024

Confirmed this is an issue. Until I get it fixed, try using heroku run lein trampoline run -m clojure.main/main for a repl as a workaround. You may need to rlwrap that on the client side.

from heroku-buildpack-clojure.

lynaghk avatar lynaghk commented on June 12, 2024

Thanks for the workaround, it's enough for what I need to do right now.

from heroku-buildpack-clojure.

technomancy avatar technomancy commented on June 12, 2024

This will be fixed once 2.0.0-preview8 is deployed; shooting for next week.

from heroku-buildpack-clojure.

technomancy avatar technomancy commented on June 12, 2024

I'm an idiot; this is still an issue.

from heroku-buildpack-clojure.

technomancy avatar technomancy commented on June 12, 2024

Fixed in the latest commit to Leiningen, will backport it to preview10 via a plugin in the buildpack.

from heroku-buildpack-clojure.

technomancy avatar technomancy commented on June 12, 2024

So the problem here is that localhost isn't isolated on a per-dyno level, so listening on it for your repl would open your app up to anyone else on the same underlying instance. The solution is to keep it all in-process, which I just added to lein master: technomancy/leiningen@975e3eb

However to use it on preview10 I spun it off into its own plugin: https://github.com/technomancy/lein-standalone-repl

And now the buildpack will transparently alias lein repl to lein standalone-repl.

from heroku-buildpack-clojure.

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.