Update Semantic
Fixes #40,#24
This commit is contained in:
parent
1715f27f44
commit
2027b94179
621 changed files with 172488 additions and 15939 deletions
28
web/semantic/tasks/check-install.js
Normal file
28
web/semantic/tasks/check-install.js
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*******************************
|
||||
Check Install
|
||||
*******************************/
|
||||
|
||||
var
|
||||
// node dependencies
|
||||
gulp = require('gulp'),
|
||||
fs = require('fs'),
|
||||
console = require('better-console'),
|
||||
install = require('./config/project/install')
|
||||
;
|
||||
|
||||
// export task
|
||||
module.exports = function() {
|
||||
|
||||
setTimeout(function() {
|
||||
if( !install.isSetup() ) {
|
||||
console.log('Starting install...');
|
||||
gulp.start('install');
|
||||
return;
|
||||
}
|
||||
else {
|
||||
gulp.start('watch');
|
||||
}
|
||||
}, 50); // Delay to allow console.clear to remove messages from check event
|
||||
|
||||
|
||||
};
|
Reference in a new issue