UNPKG

603 BJavaScriptView Raw
1/*******************************
2 Check Install
3*******************************/
4
5var
6 // node dependencies
7 gulp = require('gulp'),
8 fs = require('fs'),
9 console = require('better-console'),
10 install = require('./config/project/install')
11;
12
13// export task
14module.exports = function() {
15
16 setTimeout(function() {
17 if( !install.isSetup() ) {
18 console.log('Starting install...');
19 gulp.start('install');
20 return;
21 }
22 else {
23 gulp.start('watch');
24 }
25 }, 50); // Delay to allow console.clear to remove messages from check event
26
27
28};
\No newline at end of file