Skip to content

Commit

Permalink
Merge pull request #668 from thecodacus/terminal-start-log-for-dev-se…
Browse files Browse the repository at this point in the history
…rver

added start message for dev server
  • Loading branch information
thecodacus authored Dec 12, 2024
2 parents 0603e10 + 539389e commit e7859a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"deploy": "npm run build && wrangler pages deploy",
"build": "remix vite:build",
"dev": "remix vite:dev",
"dev": "node pre-start.cjs; remix vite:dev",
"test": "vitest --run",
"test:watch": "vitest",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
Expand Down Expand Up @@ -131,4 +131,4 @@
"@typescript-eslint/utils": "^8.0.0-alpha.30"
},
"packageManager": "[email protected]"
}
}
10 changes: 10 additions & 0 deletions pre-start.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { commit } = require('./app/commit.json');

console.log(`
★═══════════════════════════════════════★
B O L T . D I Y
⚡️ Welcome ⚡️
★═══════════════════════════════════════★
`);
console.log('📍 Current Commit Version:', commit);
console.log('★═══════════════════════════════════════★');

0 comments on commit e7859a3

Please sign in to comment.