[英]webpack command of npm run dev from a new line
npm run dev
in most cases is intended to keep running, detect changes, re-transpile files and (hot) reload the application.在大多数情况下,
npm run dev
旨在保持运行、检测更改、重新编译文件和(热)重新加载应用程序。 That's intended behavior, so don't panic.这是预期的行为,所以不要惊慌。
You should leave that terminal untouched and simply open a second one if you want to do anything else.如果您想做任何其他事情,您应该保持该终端不变,只需打开第二个即可。
You will have to open another terminal window.您将不得不打开另一个终端窗口。 The reason is that webpack is now listening for changes - meaning the process in your current terminal window is still running.
原因是 webpack 现在正在侦听更改 - 这意味着当前终端窗口中的进程仍在运行。 Opening another terminal window will allow you to run other commands while the webpack process is still running.
打开另一个终端窗口将允许您在 webpack 进程仍在运行时运行其他命令。
I found the right way.我找到了正确的方法。 CTRL+C, after need to choose stop or not the execution of processing of listening and then will get a new line.
CTRL+C,需要选择停止或不执行监听处理后会换行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.