Skip to content

Commit

Permalink
chore: Add Railway watch patterns for monorepo file tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Mar 6, 2025
1 parent 60bed97 commit 71fe159
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apps/api/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "pnpm --filter @hey/api build"
"buildCommand": "pnpm --filter @hey/api build",
"watchPatterns": ["apps/api/**", "packages/**/*"]
},
"deploy": {
"runtime": "V2",
Expand Down
3 changes: 2 additions & 1 deletion apps/cron/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "pnpm --filter @hey/cron build"
"buildCommand": "pnpm --filter @hey/cron build",
"watchPatterns": ["apps/cron/**", "packages/**/*"]
},
"deploy": {
"runtime": "V2",
Expand Down
3 changes: 2 additions & 1 deletion apps/og/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "pnpm --filter @hey/og build"
"buildCommand": "pnpm --filter @hey/og build",
"watchPatterns": ["apps/og/**", "packages/**/*"]
},
"deploy": {
"runtime": "V2",
Expand Down
3 changes: 2 additions & 1 deletion apps/web/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "pnpm --filter @hey/web build"
"buildCommand": "pnpm --filter @hey/web build",
"watchPatterns": ["apps/web/**", "packages/**/*"]
},
"deploy": {
"runtime": "V2",
Expand Down

0 comments on commit 71fe159

Please sign in to comment.