From 6ff217f974dd0bcb01e1689ef72c148356909501 Mon Sep 17 00:00:00 2001 From: Saeid Mohadjer Date: Fri, 11 Aug 2023 11:18:05 +0200 Subject: [PATCH] updates bundle.js so it doesn't block terminal --- bin/bundle.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/bundle.js b/bin/bundle.js index c392117..29e3b89 100644 --- a/bin/bundle.js +++ b/bin/bundle.js @@ -14,7 +14,8 @@ if (args[0] === 'js') { if (args[1] === 'watch') { await ctx.watch(); } else { - ctx.rebuild(); + await ctx.rebuild(); + ctx.dispose(); } } diff --git a/package.json b/package.json index ac47986..a252de9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "build", - "version": "2.0.0", + "version": "2.0.1", "description": "Frontend build for HTML websites", "type": "module", "repository": {