fleetbo-cockpit-cli 1.0.180 → 1.0.181
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/cli.js +2 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -1079,13 +1079,12 @@ else {
|
|
|
1079
1079
|
const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
|
|
1080
1080
|
|
|
1081
1081
|
// Lancement agnostique du serveur de dev (React, Vue, etc.)
|
|
1082
|
-
const devServer = spawn(`${npmCmd} run dev --silent`, {
|
|
1082
|
+
const devServer = spawn(`${npmCmd} run dev --silent -- --host 127.0.0.1`, {
|
|
1083
1083
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
1084
1084
|
shell: true,
|
|
1085
1085
|
env: {
|
|
1086
1086
|
...process.env,
|
|
1087
1087
|
NODE_OPTIONS: '--no-deprecation'
|
|
1088
|
-
// On a retiré le forçage du PORT ici pour laisser Vite choisir (souvent 5173 pour Vue)
|
|
1089
1088
|
}
|
|
1090
1089
|
});
|
|
1091
1090
|
|
|
@@ -1183,7 +1182,7 @@ else {
|
|
|
1183
1182
|
};
|
|
1184
1183
|
|
|
1185
1184
|
startUplink(0);
|
|
1186
|
-
|
|
1185
|
+
|
|
1187
1186
|
}
|
|
1188
1187
|
}
|
|
1189
1188
|
});
|