commandkit 0.1.9-dev.20231213080753 → 0.1.9-dev.20231214174930

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/bin/build.mjs CHANGED
@@ -37,6 +37,7 @@ export async function bootstrapProductionBuild(config) {
37
37
  keepNames: true,
38
38
  outDir,
39
39
  silent: true,
40
+ watch: false,
40
41
  entry: [src, '!dist', '!.commandkit', `!${outDir}`],
41
42
  });
42
43
 
@@ -61,10 +61,12 @@ export async function bootstrapDevelopmentServer(opts) {
61
61
  silent: true,
62
62
  entry: [src, '!dist', '!.commandkit', `!${outDir}`].filter(Boolean),
63
63
  watch: watchMode,
64
+ async onSuccess() {
65
+ console.log('watch triggered');
66
+ return await injectShims('.commandkit', main, false, requirePolyfill);
67
+ },
64
68
  });
65
69
 
66
- await injectShims('.commandkit', main, false, requirePolyfill);
67
-
68
70
  status.succeed(
69
71
  Colors.green(`Dev server started in ${(performance.now() - start).toFixed(2)}ms!\n`),
70
72
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "commandkit",
3
3
  "description": "Beginner friendly command & event handler for Discord.js",
4
- "version": "0.1.9-dev.20231213080753",
4
+ "version": "0.1.9-dev.20231214174930",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",