MDL-49817 grunt: make shifter work watch on right place
authorDan Poltawski <dan@moodle.com>
Thu, 14 Jan 2016 16:42:44 +0000 (16:42 +0000)
committerDan Poltawski <dan@moodle.com>
Thu, 28 Jan 2016 08:27:31 +0000 (08:27 +0000)
commit0b777a069b162500ca01f22b29014a834c5434a4
treef0e0d47b54de02961b0b6a8cbf424b855cbc830a
parent8efbb7b1a1162ef9e31cf7af04db59a9678a6fdb
MDL-49817 grunt: make shifter work watch on right place

We mess around with the cwd to find a shifter path, not ideal but avoids
having to refactor the shifter task.

Also fix jshint errors..

1) The gruntfile runs in a nodejs environment and not a browser
environment.

2) There was an uninitialised variable
Gruntfile.js