@bigbinary/neeto-commons-frontend 4.13.112 → 4.13.113

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.
@@ -88,9 +88,15 @@ const getWatchConfig = ({
88
88
  } = {}) => {
89
89
  const appArg = getAppArg();
90
90
 
91
- if (!appArg) return { watchPlugins: [], appPath: null };
92
-
93
91
  const currentDir = process.cwd();
92
+
93
+ if (!appArg) {
94
+ return {
95
+ watchPlugins: [emitReadyFile(path.resolve(currentDir, "dist"))],
96
+ appPath: null,
97
+ };
98
+ }
99
+
94
100
  const packageJson = require(path.resolve(currentDir, "package.json"));
95
101
 
96
102
  const appPath = path.resolve(
@@ -8,8 +8,6 @@ const nanoDevelopmentPlugin = () => {
8
8
  let restartInProgress = false;
9
9
  let restartAgain = false;
10
10
 
11
- const isWatchMode = process.env.WATCH_MODE === "true";
12
-
13
11
  return {
14
12
  name: "vite-plugin-nano-development",
15
13
  configureServer(server) {
@@ -35,7 +33,7 @@ const nanoDevelopmentPlugin = () => {
35
33
  );
36
34
 
37
35
  function restartServer(filePath) {
38
- if (isWatchMode && !filePath.endsWith(".ready")) return;
36
+ if (!filePath.endsWith(".ready")) return;
39
37
 
40
38
  clearTimeout(restartTimeout);
41
39
  restartTimeout = setTimeout(() => {
package/dist/.ready ADDED
@@ -0,0 +1 @@
1
+ Built at 2026-03-20T05:57:05.732Z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "4.13.112",
3
+ "version": "4.13.113",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",