- Updates webpack config file

- Adds an option to watch/compile just the JS files with webpack
This commit is contained in:
MrCasual
2015-10-21 15:24:51 -04:00
parent 0a771acb02
commit 0b1fc8f6c3
2 changed files with 10 additions and 1 deletions

View File

@@ -47,6 +47,10 @@ class RoboFile extends \Robo\Tasks {
->run();
}
function watchJs() {
$this->_exec('./node_modules/webpack/bin/webpack.js --watch');
}
function compileAll() {
$this->compileJs();
$this->compileCss();