简体   繁体   中英

webpack command of npm run dev from a new line

After finished specified command npm run dev , I can't again write new command in node console.

在此处输入图片说明

How can I continue to write from a new line?

Thanks, everybody for the help!

npm run dev in most cases is intended to keep running, detect changes, re-transpile files and (hot) reload the application. 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. Opening another terminal window will allow you to run other commands while the webpack process is still running.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM