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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.cjs",
5
5
  "main": "dist/main.js",
6
6
  "bin": {
@@ -1,2 +1,3 @@
1
1
  *.coffee linguist-language=CoffeeScript
2
+ *.litcoffee linguist-language=CoffeeScript
2
3
  dist/* linguist-generated