@lark-apaas/fullstack-cli 1.1.6-alpha.6 → 1.1.6-alpha.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.
- package/package.json +1 -1
- package/templates/scripts/dev.sh +9 -0
package/package.json
CHANGED
package/templates/scripts/dev.sh
CHANGED
|
@@ -36,6 +36,15 @@ split_logs() {
|
|
|
36
36
|
LOG_DIR=${LOG_DIR:-logs}
|
|
37
37
|
mkdir -p "${LOG_DIR}"
|
|
38
38
|
|
|
39
|
+
# Initialize action plugins before starting dev servers (non-blocking)
|
|
40
|
+
echo "🔌 Initializing action plugins..."
|
|
41
|
+
if npx fullstack-cli action-plugin init; then
|
|
42
|
+
echo "✅ Action plugins initialized"
|
|
43
|
+
else
|
|
44
|
+
echo "⚠️ Action plugin initialization failed, continuing anyway..."
|
|
45
|
+
fi
|
|
46
|
+
echo ""
|
|
47
|
+
|
|
39
48
|
concurrently -p "[{time}] [{name}]" -t "yyyy-MM-dd HH:mm:ss" -n "server,client" -c "blue,green" \
|
|
40
49
|
"npm run dev:server" \
|
|
41
50
|
"sleep 2 && npm run dev:client" 2>&1 | split_logs "${LOG_DIR}"
|