Yoman: pending grunt server ... cannot return to command line

I installed yoman and tried using the command: grunt server to preview my application. everything is fine, if I try to return to the command line to continue to enter some commands, below is the status after starting the grunt server:

Running "autoprefixer:dist" (autoprefixer) task Prefixed file ".tmp/styles/main.css" created. Running "connect:livereload" (connect) task Started connect web server on 127.0.0.1:9000. Running "watch" task Waiting... 

Does anyone know how to stop him?

+6
source share
1 answer

It is intentional; The grunt server command generated by Yeoman gives you a complete test environment that allows you to compile files and a server to preview your application. If you stop it, you will have to start it again using the same command. I would recommend using something like http://www.iterm2.com/ if you are on a Mac so that you can support the process in a separate window, you must continue to stop / start it.

However, you can stop the task at any time using CTRL + C.

+17
source

All Articles