Skip to content

Implement rojo open#622

Closed
Yumacide wants to merge 6 commits into
rojo-rbx:masterfrom
Yumacide:open
Closed

Implement rojo open#622
Yumacide wants to merge 6 commits into
rojo-rbx:masterfrom
Yumacide:open

Conversation

@Yumacide
Copy link
Copy Markdown

@Yumacide Yumacide commented Aug 12, 2022

Closes #305.

  • Better support for Linux users
  • Connect to the Rojo server from the plugin -- how?
  • Refactor code that's shared with other subcommands

From #305:

Inject a new plugin that puts sync details into _G or into the DataModel

Maybe the plugin could expose a function in _G to connect & the server would inject a new plugin that calls that function with the required address and port?

Comment thread src/cli/open.rs Outdated
Comment thread src/cli/open.rs Outdated

let server = LiveServer::new(Arc::new(session));

let _ = show_start_message(ip, port, global.color.into());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let _ = show_start_message(ip, port, global.color.into());
show_start_message(ip, port, global.color.into());

I think the Result this function returns might need to be handled as well.

Copy link
Copy Markdown
Contributor

@nezuo nezuo Aug 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see now that the serve command does this. I guess it was to ignore the result. @LPGhatguy should the result be ignored here?

Comment thread src/cli/open.rs Outdated
Comment thread src/cli/open.rs
Comment thread src/cli/open.rs Outdated
Comment thread src/cli/open.rs Outdated
Comment thread src/cli/open.rs Outdated
Comment thread src/cli/open.rs Outdated
@boatbomber boatbomber added type: enhancement Feature or improvement that should potentially happen scope: cli Relevant to the Rojo CLI size: large status: in-progress Someone is working on this last time we checked. labels Jan 5, 2023
@Yumacide
Copy link
Copy Markdown
Author

Superseded by #896.

@Yumacide Yumacide closed this Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: cli Relevant to the Rojo CLI size: large status: in-progress Someone is working on this last time we checked. type: enhancement Feature or improvement that should potentially happen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'rojo open' command

4 participants