Skip to content

Commit

Permalink
nodemon now restarting on ts, js, html, css and json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Reptudn committed Feb 14, 2025
1 parent e6fbce5 commit 7b41689
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "node build/index.js",
"dev": "nodemon --watch . --exec ts-node ./scripts/index.ts",
"dev": "nodemon --watch . --ext ts,json,ejs,css,js --exec ts-node ./scripts/index.ts",
"test": "jest"
},
"keywords": [],
"author": "retpudn & FreddyMSchubert",
"author": "Retpudn & FreddyMSchubert",
"license": "ISC",
"description": "",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions app/pages/index.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="max-w-4xl mx-auto p-6 bg-white rounded-lg shadow-md">
<h3 class="text-2xl font-bold mb-4">This is your main page</h3>
<p class="text-lg leading-relaxed text-gray-700">my dear <%= name %>!</p>
<p class="text-lg leading-relaxed text-gray-700">Here you cant see anything yet lol</p>
</div>

0 comments on commit 7b41689

Please sign in to comment.