-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI support for execution via existing process #49
Comments
I've had this thought -- an "alda daemon" could definitely help alleviate the start-up time. If you know you're about to do some hacking on a score file and you're going to want to play the file over and over, making changes in between, you could fire up the daemon. I think it's a great idea -- I would use it, for sure. Specifying a port is a killer idea! It would allow you to have multiple score environments with different configurations. |
The first step toward this feature will be the server process. I think this can be implemented as a separate Alda CLI command, like We should see if any parts of the existing With the above in place, we could do what @crisptrutski proposed and add an optional I'm just firing off ideas off the top of my head here -- I'm totally open to alternative approaches/ideas. |
OK! I have a passable server/client implementation up on the At this point, I'm going to move this issue to "ready" status, and plan to include the server/client in an upcoming 1.0.0-rc1 release. |
Sounds like you nailed it! 👍 🎄 😋 |
Seems like the easiest solution to start-up latency is to support sending commands "server daemon" - which could just be the most recently launched
repl
. Perhaps flags like--existing
or--port <number>
could be added to any of the CLI commands.It would also be nice if these arguments could be passively activated by a dotfile or environment variables.
Requires #43 I guess
The text was updated successfully, but these errors were encountered: