milkee 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/compile.js +9 -1
- package/package.json +1 -1
package/dist/commands/compile.js
CHANGED
|
@@ -208,7 +208,15 @@ compile = async function() {
|
|
|
208
208
|
if (debounceTimeout) {
|
|
209
209
|
clearTimeout(debounceTimeout);
|
|
210
210
|
}
|
|
211
|
-
return debounceTimeout = setTimeout(function() {
|
|
211
|
+
return debounceTimeout = setTimeout(async function() {
|
|
212
|
+
if (milkeeOptions.copy) {
|
|
213
|
+
try {
|
|
214
|
+
await executeCopy(config);
|
|
215
|
+
} catch (error1) {
|
|
216
|
+
error = error1;
|
|
217
|
+
consola.error('Failed to copy non-coffee files');
|
|
218
|
+
}
|
|
219
|
+
}
|
|
212
220
|
if (lastError) {
|
|
213
221
|
consola.warn("Compilation failed, plugins skipped.");
|
|
214
222
|
} else {
|