Answer the question
In order to leave comments, you need to log in
Gulp command line not working after executing gulp command?
Installed Gulp, created a training project, set up gulpfile.js and package.json, when I run the gulp command on the command line, I get the following:
The cursor is standing, blinking, but it does not give commands. What am I doing? I close and reopen the command prompt. And so every time... What's wrong? Here is the project structure.
It seems that all the tasks worked out, but the existing images in the app / img folder were not transferred to the final dist / img folder ...
Answer the question
In order to leave comments, you need to log in
"Gulp for the little ones"?
The task that you perform is needed for development. In order to throw source files into dist you need another task, which you have defined in gulpfile.
In the console, enter:
gulp build
Ps Images are not transferred, just because not all tasks worked out. You only defined the img task (what should happen and how), but did not complete it.
When you call build, the img-task you need is executed.
You have the watch server running, this is normal behavior, as it should be. We launched watch and forgot, all tasks should be performed by him and not by you manually, that's what he was conceived for.
You need to stop gulp in terminal/console , ctrl + c , edit the code and then run it again
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question