Skip to content

Commit cbc224e

Browse files
committed
add some logs
1 parent 0065b00 commit cbc224e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

browser/tasks/gulp-samples.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,14 @@ function getSamples(cb) {
146146

147147
samplesList = [];
148148
console.log('getting samples from ' + sampleSource);
149+
console.log('cwd: ' + process.cwd());
149150

150151
gulp.src(sampleSource)
151152
// .pipe(gSort( { asc: false } ))
152153
.pipe(es.map(function (samplePackage, sampleCallback) {
153154

154155
let sampleFolderName = Transformer.getRelative(samplePackage.dirname);
156+
console.log('processing sample folder: ' + sampleFolderName);
155157

156158
if (skipSamples.indexOf(sampleFolderName) >= 0) {
157159
// skip until material UI components are replaced in samples
@@ -166,6 +168,7 @@ function getSamples(cb) {
166168
// .pipe(gSort( { asc: false } ))
167169
.pipe(es.map(function (file, fileCallback) {
168170
let fileDir = Transformer.getRelative(file.dirname);
171+
console.log(' found sample file: ' + fileDir + "/" + file.basename);
169172
sampleFiles.push(fileDir + "/" + file.basename);
170173
fileCallback(null, file);
171174
}))

0 commit comments

Comments
 (0)