Coder Social home page Coder Social logo

Comments (4)

typicode avatar typicode commented on May 26, 2024

Hi,

It's not possible for the moment to do that with Katon.
However you can achieve it using Pow proxy or something like Dnsmask.

To understand better your need, may I ask what kind of server are you using? And why don't you want katon to start it for you?

from katon.

tillda avatar tillda commented on May 26, 2024

Various. Usually either Node's Express, but inside my dev stack that I don't want to change now (i start express from gulpfile), or something in Clojure, which works differently than node apps (for example I can't restart it this way because of slow JVM start).

from katon.

typicode avatar typicode commented on May 26, 2024

Ok, that's interesting.
I'm not decided yet if this feature will be implemented or not.

However, I'd like to make it easier to work with katon and other technology.

There's also another thing, katon watches the filesystem only for program started with the command node. So this means that katon link 'gulp server' or katon link other_command only starts the process and that's all. I'm not sure if it's clear in the README.

I'm not a Clojure expert, but when your code changes does Clojure reloads it or do you have to stop it using ctrl-c?

from katon.

tillda avatar tillda commented on May 26, 2024

In Clojure it is totally different. You basically code against "live" virtual machine that is running in the background and by sending commands to it you change its state. There are many reasons why it works like that and they are not important for our discussion because even if it would work the "old" way it still takes about 15-20 seconds to load Clojure standard library to the JVM. So all the stuff there almost never works by restarting the process. Usually all this "management" stuff is directly in the app you are programming.

However, the bottom line is not that it is needed for Clojure, but that combining various unrelated features together is great UNTIL one (or more) of the parts doesn't fit one's scenario. By splitting the features into separately usable components it may be require more work to set it up upfront, but in the end it is more flexible and scalable with project's complexity.

from katon.

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.