facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.22k stars 626 forks source link

Keyboard shortcut to restart metro bundler from within metro bundler #189

Open CrazyPython opened 6 years ago

CrazyPython commented 6 years ago

I would like to request a feature.

What is the current behavior? If I want to restart Metro Bundler (sometimes needed when installing packages or renaming files), I must press ^C and then run react-native start again. react-native-cli itself takes a significant amount of time to locate and start Metro Bundler.

What is the desired behavior?

I would like to be able to restart Metro Bundler from within metro bundler itself by pressing a key or a combination of keys. I suggest spacebar or the "r" key.

Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system.

Yarn 1.8.0, Node v10.0.0, macOS High Sierra 10.13.4.

Using Metro Bundler as packaged with facebook/react-native#0.56.0-rc.4. That's the git tag from GitHub, not the npm version.

Pines-Cheng commented 5 years ago

the same demand.

Alexintosh commented 5 years ago

Please!

RohovDmytro commented 4 years ago

Is that a solved issue?..

E-Zbox commented 1 year ago

This will be a good feature. I use expo for my react-native projects