Skip to content

Commit

Permalink
Merge pull request #91 from blueberryapps/fix-watch-bluekit
Browse files Browse the repository at this point in the history
Fix watch-bluekit
  • Loading branch information
imtoo authored Nov 23, 2016
2 parents d7e2d79 + 8796681 commit df931d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/createBlueKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,16 @@ export default function createBlueKit(config) {

console.log('Watching BlueKit in and automatically rebuilding on paths:') // eslint-disable-line no-console
console.log(watchPaths.join('\n')); // eslint-disable-line no-console
gulpRuntime.watch(watchPaths, [buildCommandName]);
return gulpRuntime.watch(watchPaths, [buildCommandName]);
}

gulpRuntime.task(buildCommandName, () => {
console.log('Rebuilding BlueKit'); // eslint-disable-line no-console
generate();
})

gulpRuntime.task(watchCommandName, () => {
watch();
gulpRuntime.task(watchCommandName, (callback) => {
return watch();
})

function generate() {
Expand Down

0 comments on commit df931d5

Please sign in to comment.