Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Why can't I run Terminal commands after starting a Gulp watch task?

After I run a Gulp watch task and it finishes, the lines below the Terminal are blank.

If I type it just enters like a text editor and my username is missing.

It should say "Example-Mac:~ example$"...

Do I have to reset the Terminal or something?

1 Answer

Hey Andrew,

I might be wrong here, but a 'watch' task continues to run in the terminal 'watching' you code for changes until you cancel it. As it is executing, you can't use that current window/tab for further commands.

You can however open another terminal window or tab and run your commands in that. Hope this helps.

Hmm, yea I figured that might be the case. Seems kind of annoying, but I didn't know the Terminal could have tabs, so that's helpful. Thanks!