milkee 3.2.2 → 3.2.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
CHANGED
|
@@ -216,7 +216,15 @@ compile = async function() {
|
|
|
216
216
|
if (debounceTimeout) {
|
|
217
217
|
clearTimeout(debounceTimeout);
|
|
218
218
|
}
|
|
219
|
-
return debounceTimeout = setTimeout(function() {
|
|
219
|
+
return debounceTimeout = setTimeout(async function() {
|
|
220
|
+
if (milkeeOptions.copy) {
|
|
221
|
+
try {
|
|
222
|
+
await executeCopy(config);
|
|
223
|
+
} catch (error1) {
|
|
224
|
+
error = error1;
|
|
225
|
+
consola.error('Failed to copy non-coffee files');
|
|
226
|
+
}
|
|
227
|
+
}
|
|
220
228
|
if (lastError) {
|
|
221
229
|
consola.warn('Compilation failed, plugins skipped.');
|
|
222
230
|
} else {
|
package/package.json
CHANGED