Skip to content

Commit 7f77749

Browse files
committed
chore: startcli
1 parent d05676e commit 7f77749

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"sideEffects": true,
2020
"scripts": {
2121
"pre:run": "install-changed",
22+
"dev": "npm run start",
2223
"start": "npm run pre:run && cross-env BUILD_GOAL=development NODE_ENV=development webpack serve --config ./webpack/webpack.dev.js --stats-error-details",
2324
"dev:faker": "concurrently -r \"npm run start\" \"npm run faker\"",
2425
"build:production": "npm run && cross-env SENTRY_SOURCE_MAP=no BUILD_GOAL=production NODE_ENV=production webpack --config ./webpack/webpack.prod.js --stats-error-details",

start.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
cd ..
3+
echo "" > front.log
4+
start npm run dev > front.log &
5+
echo "Start front complete!"

start.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
cd ..
3+
echo "" > front.log
4+
nohup npm run dev > front.log &
5+
echo "Start front complete!"
6+
tail -f front.log

0 commit comments

Comments
 (0)