renamed grunt 'base' option to 'root' (#1660)

* Allow slides to be served away from revealjs server location

The previous 'base' option conflicts with Grunt's 'base' option.
Changing it to 'root' avoids this. Further, updating to a newer Grunt
allows multiple parameters to be used. therefore `grunt serve --root="."
--root="pathtomyslides"` allows you to keep your slide content separate
from JS/CSS and such

* Live reload for relocated base

* Updated packages to match origin/dev

* Updated packages to match origin/dev

* Ensure root is an array
This commit is contained in:
CH
2016-10-05 11:45:37 +02:00
committed by Hakim El Hattab
parent 693a370f06
commit 2cf00254a1
2 changed files with 10 additions and 6 deletions

View File

@@ -28,7 +28,7 @@
"socket.io": "^1.4.8"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt": "~1.0.1",
"grunt-autoprefixer": "~3.0.3",
"grunt-contrib-connect": "~0.11.2",
"grunt-contrib-cssmin": "~0.14.0",