📌  相关文章
📜  为什么需要运行 react-native run - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:27.738000             🧑  作者: Mango

代码示例1
react-native start is same as npm start and like you said it's to start the 
react packager/server.

I have found myself in situations where I had to stop and start the server 
explicitly using npm start.

To start up a project, you use the react-native run-ios and it starts up both 
the simulator and the server but in cases where the app has been installed and 
you want to restart the server, you can stop it explicitly in the terminal and
use react-native start or npm start to start it up again.