mirror of
https://github.com/unraid/api.git
synced 2025-12-30 21:19:49 -06:00
<!-- 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 -->
11 lines
386 B
Bash
Executable File
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' |