Files
api/plugin/scripts/build-watcher.sh
Eli Bosley 881f1e0960 feat: slightly better watch mode (#1398)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added a script to automatically prepare UI components before running
the build watch process in the web app.
- **Bug Fixes**
- Improved build and release processes to ensure directories are
properly cleaned and created, preventing potential errors during Docker
operations.
- **Chores**
- Updated build watch scripts for faster development feedback and more
efficient parallel execution.
- Refined Docker Compose configuration to use the correct release
directory for plugin builds.
- Introduced a new script to streamline and centralize file watching and
build triggering in the plugin system.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-22 13:42:08 -04:00

11 lines
386 B
Bash
Executable File

#!/bin/bash
nodemon --verbose \
--watch 'source/**/*' \
--watch 'plugins/dynamix.unraid.net.plg' \
--ext ts,js,plg,sh,xz,json \
--ignore '*.test.ts' \
--ignore 'node_modules/**' \
--ignore 'source/dynamix.unraid.net/doinst.sh' \
--ignore 'source/dynamix.unraid.net/usr/local/share/dynamix.unraid.net/config/vendor_archive.json' \
--delay 30s \
--exec 'pnpm run build'