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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.cjs",
5
5
  "main": "dist/main.js",
6
6
  "bin": {