Share one namespace across devices on the Conductor dev server - #44
Merged
Conversation
Run the dev script with DLCENTER_COMMON_CONTEXT=1 so a phone on the Wi-Fi and the browser on localhost land in the same namespace and see each other's shares, instead of being isolated by their different IPs. Bind on 0.0.0.0 too: rackup only listens on localhost in development, so the phone could not reach the server at all.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run the Conductor dev script with
DLCENTER_COMMON_CONTEXT=1so a phone on theWi-Fi and the browser on localhost land in the same namespace and see each
other's shares, instead of being isolated by their different IPs. The env var
already existed, this just wires it into the dev run script.
-o 0.0.0.0as well: rackup only listens on localhost in development, so thephone could not reach the dev server at all.
Only
.conductor/settings.tomlchanges — no application behaviour is affected.