nickjanssen / angus

Declarative build tool for the web.
http://slides.com/nickjanssen/declarative-build-configurations
211 stars 13 forks source link

angus dev breaks when changing angus.config.js #25

Closed derhasi closed 9 years ago

derhasi commented 9 years ago

I just created the demo app with angus dev. The first build works fine and live reload is waiting. In the moment I resave angus.config.js with or without any actual change (e.g. only whitespaces), this error is thrown:

/usr/local/lib/node_modules/angus/node_modules/gulp/node_modules/orchestrator/index.js:153
            throw err;
                  ^
[object Object]

Full log

Angus v0.13.0
[17:20:24] Running task: checkConfig
[17:20:24] Checking angus.config.js of redmine-task-creator
[17:20:24] Running task: depCheck
[17:20:24] Checking if required dependencies are installed...
[17:20:24] All dependencies installed.
[17:20:24] Running task: bowerCheck
[17:20:24] Installing NPM packages...
[17:20:24] Installing Bower packages...
[17:20:24] angular is already installed, skipping
[17:20:24] angular-ui-tree is already installed, skipping
[17:20:24] bootstrap-sass-official is already installed, skipping
[17:20:24] Bower packages installed.
[17:20:24] Running task: checkFilesNeeded
[17:20:24] Checking if any library includes are missing...
[17:20:24] All library includes were found.
[17:20:24] Running task: jshint
[17:20:24] Running task: karma
INFO [karma]: Karma v0.12.28 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket XvzMN38DEKweDS3jpySj with id 65152410
PhantomJS 1.9.8 (Mac OS X): Executed 1 of 1 SUCCESS (0.002 secs / 0.002 secs)
Karma has exited with 0
[17:20:26] Running task: clean
[17:20:26] Running task: libStyleIncludes
[17:20:26] Running task: assets
[17:20:26] Running task: jsApp
[17:20:26] Running task: jsLib
[17:20:26] Running task: templatesLib
[17:20:26] Running task: templatesApp
[17:20:26] Running task: sass
[17:20:27] Running task: html
[17:20:27] Running task: watch
[17:20:27] Running task: connect
[17:20:27] Server started http://localhost:9000
[17:20:27] LiveReload started on port 35729

/usr/local/lib/node_modules/angus/node_modules/gulp/node_modules/orchestrator/index.js:153
            throw err;
                  ^
[object Object]
nickjanssen commented 9 years ago

Thanks!