ali stopped
diff --git a/views/ngXosLib/gulpfile.js b/views/ngXosLib/gulpfile.js
index e514d7a..e030ad9 100644
--- a/views/ngXosLib/gulpfile.js
+++ b/views/ngXosLib/gulpfile.js
@@ -2,6 +2,7 @@
var gulp = require('gulp');
var wrench = require('wrench');
+var path = require('path');
var options = {
ngXosVendor: '../../xos/core/xoslib/static/js/vendor/', //save here the minfied vendor file, this is automatically loaded in the django page
@@ -11,9 +12,9 @@
docs: './docs'
};
-wrench.readdirSyncRecursive('./gulp')
+wrench.readdirSyncRecursive(path.join(__dirname, './gulp'))
.map(function(file) {
- require('./gulp/' + file)(options);
+ require(path.join(__dirname, './gulp/' + file))(options);
});
gulp.task('default', function () {