Skip to content

Commit

Permalink
improve dev scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-stone committed Dec 13, 2024
1 parent 67aec8f commit 5259675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build-only": "vite build",
"lint": "oxlint .",
"preview": "vite preview",
"dev": "chokidar 'src/**/*' 'public/**/*' -c 'echo Change detected! && pnpm run build-only'",
"dev": "chokidar 'src/**/*' 'public/**/*' './vite.config.js' './package.json' -c 'pnpm run build-only && cp targets/chrome/manifest.json dist/manifest.json'",
"build:firefox": "vite build; cp targets/firefox/manifest.json dist/manifest.json",
"build:chrome": "vite build; cp targets/chrome/manifest.json dist/manifest.json"
},
Expand Down

0 comments on commit 5259675

Please sign in to comment.