@lmjs/cli 1.0.24 → 1.0.25

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.
Files changed (2) hide show
  1. package/index.js +7 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -390,11 +390,15 @@ async function buildProject(cmds) {
390
390
  });
391
391
  }
392
392
 
393
+ function clear(isSoft) {
394
+ process.stdout.write(
395
+ isSoft ? '\x1B[H\x1B[2J' : '\x1B[2J\x1B[3J\x1B[H\x1Bc'
396
+ );
397
+ }
398
+
393
399
  function startServer() {
400
+ clear();
394
401
  nodemon({
395
- events: {
396
- start: "clear",
397
- },
398
402
  script: path.join(__dirname.toString(), "lib", "app.js"),
399
403
  ext: "view,js,css,json,tpl,html",
400
404
  watch: ["src/", "config.json"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmjs/cli",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LumenJS is a tiny robust reactive javascript framework for building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript",
5
5
  "main": "./index.js",
6
6
  "bin": {