live refresh

This commit is contained in:
2025-11-12 19:38:40 +03:00
parent e4b39b1c39
commit 7d2d9a54e9
3 changed files with 9 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ services:
- CHOKIDAR_USEPOLLING=1
ports:
- "5173:5173"
volumes:
- .:/app
- /app/node_modules
depends_on:
- backend-dev
profiles:
@@ -22,6 +25,9 @@ services:
- CLIENT_ORIGIN=http://localhost:5173
ports:
- "4000:4000"
volumes:
- ./server:/app
- /app/node_modules
profiles:
- imgpub-app-dev

View File

@@ -5,12 +5,13 @@
"description": "EPUB generation server for imgPub",
"main": "index.js",
"scripts": {
"dev": "node index.js"
"dev": "nodemon index.js"
},
"dependencies": {
"cors": "^2.8.5",
"epub-gen": "^0.1.0",
"express": "^4.19.2",
"nodemon": "^3.1.4",
"uuid": "^9.0.1"
}
}

View File

@@ -65,7 +65,7 @@ const App = () => {
letterSpacing: 1,
}}
>
imgpub
imagepub
</Typography>
<Stack direction="row" spacing={3} alignItems="center">
<Typography