Coder Social home page Coder Social logo

Comments (6)

mtm avatar mtm commented on July 24, 2024

I would go with /tmp/swank-port.pid

That way you could even run multiple swanks against the same project.

from leiningen.

Licenser avatar Licenser commented on July 24, 2024

mtm, you are, and I admit that, totally right at least on the one hand on the other hand the text file contains the port swank runs on, so naming it swank-4008.txt with the content 4008 seems somewhat redundant

from leiningen.

mtm avatar mtm commented on July 24, 2024

Ah, by 'pid' I meant the 'process ID' of the swank session, not the port. Though, of course, you're right: we could go with just zero byte files named 'swank-port-4008', etc.

from leiningen.

Licenser avatar Licenser commented on July 24, 2024

oh sneaky I didn't saw the .pid in the end, not sure what is better, I am not even sure. I thought you mean call it swank-4008.txt. I guess it is easyer to handle with the content inside as in read opposite to mangle file names so I guess the swank-port.pid is actually the better way - just my reading skills failed me when first responding :P

from leiningen.

technomancy avatar technomancy commented on July 24, 2024

Is this still an issue with the latest swank?

from leiningen.

technomancy avatar technomancy commented on July 24, 2024

This actually does not prevent swank from working; it's just an annoying warning. Please reopen on the swank project if you'd like it fixed.

from leiningen.

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.