Picture of Andrew Yardy
Grunt dev
by Andrew Yardy - Tuesday, 24 June 2014, 11:42 PM
 

Hi folks,

When I use the grunt dev command the command line stalls at the command

Running "watch" task
Waiting...

Any suggestions?

 

Cheers

Andrew

 

Picture of Kevin Corry
Re: Grunt dev
by Kevin Corry - Wednesday, 25 June 2014, 7:06 AM
 

Hi Andrew,

This is to be expected - 'watch' is a part of the grunt dev task, which listens out for changes to the JS, LESS or handlebars template files, and rebuilds as necessary. You can stop the watch task with CTRL + C if you're on a Windows machine.

If you simply wish to build and launch the server, run grunt build, followed by grunt server or grunt server-scorm

Hope this helps,

Kevin

Picture of Nicola Bamford
Re: Grunt dev
by Nicola Bamford - Wednesday, 25 June 2014, 8:09 AM
 

Beat me to it, Kevin - and with a much better explanation!

Picture of Chris Jones
Re: Grunt dev
by Chris Jones - Wednesday, 25 June 2014, 8:59 AM
 

Hello Andrew,

Personally I use Console2 to run a watch task in a separate tab and use another tab for working.

Cheers,

Chris