Skip to content

Commit

Permalink
Fix hot-reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsalem401 committed Jan 29, 2024
1 parent 6ca4330 commit 051b6cf
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 13 deletions.
129 changes: 118 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "flowershow",
"version": "2.0.3",
"scripts": {
"dev": "npm run generate && cross-env NODE_ENV=development next-remote-watch content",
"dev": "concurrently \"npm run mddb\" \"npm run generate && cross-env NODE_ENV=development next-remote-watch content\" ",
"prebuild": "npm run generate",
"build": "next build",
"start": "next start",
"export": "npm run build && next export",
"mddb": "mddb ./content",
"mddb": "mddb ./content --watch",
"generate": "cross-env NODE_OPTIONS=\"--experimental-json-modules --experimental-modules\" node -r esbuild-register ./scripts/prebuild.mjs"
},
"dependencies": {
Expand All @@ -22,6 +22,7 @@
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"clsx": "^2.1.0",
"concurrently": "^8.2.2",
"date-fns": "^2.29.3",
"gray-matter": "^4.0.3",
"hastscript": "^7.2.0",
Expand Down

0 comments on commit 051b6cf

Please sign in to comment.