question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow configuration of bundler port via env or project level config

See original GitHub issue

It appears as though right now the only way to change the metro bundler port is by manually starting the bundler, passing in a different setting and then manually changing it in the running app. Based on what I’m reading in the documentation, all this has to be done by hand. Per machine, per checkout, per emulator, per app install.

It goes without saying, but this is a considerable inconvenience.

For people using a local development environment, ports in the 808* range tend to be already allocated. We manage a local development environment and each service that we have in our stack is allocated a port according to a convention.

The current option for configuring the bundler port is insufficient. It needs to be configurable in such a way that I can either commit the configuration to source control, or maintain some value in my environment that gets passed during builds. Most importantly, it has to require zero manual steps so that someone checking out our projects for the first time has minimal to no manual gotchas.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
react-native-botcommented, May 16, 2019

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?

👉 Click here if you want to take another look at the Bug Report issue template.

0reactions
atrauzzicommented, Dec 25, 2020

Not stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bundle-config - - Set bundler configuration options
This command allows you to interact with Bundler's configuration system. Bundler loads configuration settings in this order:.
Read more >
DevServer - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >
Building and serving Angular apps
Configuring application environmentslink ... You can define different named build configurations for your project, such as staging and production, with different ...
Read more >
Configure the bundled Puma instance of the GitLab package
GVL allows MRI Ruby to be multi-threaded, but running at most on a single core. ... To configure Puma to listen over an...
Read more >
Configuring bundler using bundle config - BigBinary Blog
Application level configuration ... By default setting configuration value will set it for all projects on the machine. You can set configurations ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found