@dolphjs/cli 1.1.6 → 1.1.7

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.
@@ -4,7 +4,7 @@ import chalk from "chalk";
4
4
  import { getRootDirectory } from "../utils/get_root_dir_path.js";
5
5
  import { readConfig } from "../utils/read_user_config_path.js";
6
6
  import { join } from "path";
7
- import { debounce } from "lodash";
7
+ import _ from "lodash";
8
8
  let fileExtension = "";
9
9
  let indexFilePath = "";
10
10
  export const startApp = () => {
@@ -105,7 +105,7 @@ const watcher = chokidar.watch([], {
105
105
  ignoreInitial: false,
106
106
  });
107
107
  let isWatcherActive = false;
108
- const debouncedStartApp = debounce(startApp, 1000);
108
+ const debouncedStartApp = _.debounce(startApp, 1000);
109
109
  export const watchFile = () => {
110
110
  if (!isWatcherActive) {
111
111
  console.log(`${chalk.bold(chalk.green("[DOLPH INFO]: "))} ${chalk.greenBright("watching files for changes ...")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphjs/cli",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "The dolphjs-cli is a tool for efficient intialization and management of a dolphjs project",
5
5
  "main": "./dist/index.js",
6
6
  "repository": "https://github.com/dolphjs/dolph-cli.git",