@dolphjs/cli 1.1.1 → 1.1.2

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.
@@ -105,7 +105,7 @@ export const watchFile = () => {
105
105
  fileExtension = readConfig().language;
106
106
  const srcDirectory = join(getRootDirectory(), "src");
107
107
  watcher.add(srcDirectory);
108
- watcher.on("", (_event, path) => {
108
+ watcher.on("all", (_event, path) => {
109
109
  `${chalk.bold(chalk.green("[DOLPH INFO]: "))} ${chalk.greenBright("file changed" + `[${path}]`)}`;
110
110
  if (path.endsWith(".ts") || path.endsWith(".js")) {
111
111
  startApp();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphjs/cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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",