clovie 0.1.8 → 0.1.9

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/cli.js CHANGED
@@ -94,8 +94,8 @@ if (process.argv.includes('create') && process.argv.length > 2) {
94
94
  if (templateType === 'server') {
95
95
  console.log('\n🌐 Server template features:');
96
96
  console.log(' • API endpoints ready at /api/*');
97
- console.log(' • Admin dashboard at /dashboard.html');
98
- console.log(' • User profiles at /user/:id');
97
+ console.log(' • Dynamic user profiles at /user/:id');
98
+ console.log(' • Interactive API demos on homepage');
99
99
  console.log(' • Use "npm run start" for production server');
100
100
  } else if (templateType === 'static') {
101
101
  console.log('\nšŸ“„ Static template features:');
package/dist/index.cjs CHANGED
@@ -4252,7 +4252,9 @@ class Server extends ServiceProvider {
4252
4252
  req.path.endsWith("/") || req.path.includes(".") ? next() : res.redirect(req.path + "/");
4253
4253
  })) : console.log("āš ļø No output directory configured or it does not exist, serving basic routes only");
4254
4254
  await this.#setupDev(config), process.on("SIGINT", () => {
4255
- this.stop();
4255
+ this.#isRunning && this.#server.close(() => {
4256
+ this.#isRunning = !1, console.log("šŸ›‘ Development server stopped");
4257
+ });
4256
4258
  });
4257
4259
  }
4258
4260
  actions(useContext) {