Skip to content

Commit b256488

Browse files
committed
better debugging output
1 parent 2f1c5a6 commit b256488

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ function fetch(_to, _from, _trace) {
101101
// checking cache
102102
let tokens = tokensByFile[filename];
103103
if (tokens) {
104+
debugFetch({cache: true, filename});
104105
return tokens;
105106
}
106107

107-
debugFetch(filename);
108+
debugFetch({cache: false, filename});
108109
const rootRelativePath = sep + relative(rootDir, filename);
109110
const CSSSource = preProcess(readFileSync(filename, 'utf8'), filename);
110111

0 commit comments

Comments
 (0)