Skip to content
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

Plugin autostart #162

Closed
wants to merge 5 commits into from
Closed

Plugin autostart #162

wants to merge 5 commits into from

Conversation

LPGhatguy
Copy link
Contributor

@LPGhatguy LPGhatguy commented Apr 22, 2019

Closes #151.

This PR makes the Rojo plugin recognize a special marker value (ROJO_AUTOSTART_PORT), causing it to immediately connect to a running Rojo server.

It also adds a new flag to rojo build, --plugin_autostart, which will attach a special marker value when used to build a place file.

This means that it's possible to get up and running with a place using Rojo with an easily-scriptable sequence of a couple commands:

rojo build --plugin_autostart -o Place.rbxlx
start Place.rbxlx # Open Roblox Studio
rojo serve

@LPGhatguy
Copy link
Contributor Author

I think before this change, it probably needs to be locked to a project name to prevent accidentally syncing the wrong place in.

I'm afraid there might be some debt to clean up before it's easy to make that change.

@LPGhatguy
Copy link
Contributor Author

I think this change should also not affect the generated place file, ideally. Experimenting with this feature, I have accidentally re-opened a place only to accidentally immediately sync.

@LPGhatguy LPGhatguy closed this Mar 26, 2020
@LPGhatguy LPGhatguy deleted the plugin-autostart branch February 19, 2021 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin autostart
1 participant