We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e82b21 commit ffc3b30Copy full SHA for ffc3b30
index.js
@@ -5,6 +5,7 @@ const path = require('path')
5
6
const ora = require('ora')
7
const stdin = require('get-stdin')
8
+const read = require('read-cache')
9
const chalk = require('chalk')
10
const globber = require('globby')
11
const chokidar = require('chokidar')
@@ -237,7 +238,7 @@ function files (files) {
237
238
})
239
}
240
- return fs.readFile(file)
241
+ return read(file)
242
.then((content) => css(content, file))
243
}))
244
package.json
@@ -25,6 +25,7 @@
25
"postcss": "^5.2.16",
26
"postcss-load-config": "^1.1.0",
27
"postcss-reporter": "^3.0.0",
28
+ "read-cache": "^1.0.0",
29
"yargs": "^7.0.2"
30
},
31
"devDependencies": {
0 commit comments