Title: Prevent multiple instance of the `dev` command running at the same time with a File lock · Issue #1609 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: Prevent multiple instance of the `dev` command running at the same time with a File lock · Issue #1609 · triggerdotdev/trigger.dev
X Title: Prevent multiple instance of the `dev` command running at the same time with a File lock · Issue #1609 · triggerdotdev/trigger.dev
Description: It's currently possible to run the dev command in multiple different sessions at the same time, which causes all sorts of issues, including: Cannot find module dev-run-worker.mjs error Some runs getting "stuck" while others work We shoul...
Open Graph Description: It's currently possible to run the dev command in multiple different sessions at the same time, which causes all sorts of issues, including: Cannot find module dev-run-worker.mjs error Some runs ge...
X Description: It's currently possible to run the dev command in multiple different sessions at the same time, which causes all sorts of issues, including: Cannot find module dev-run-worker.mjs error Some run...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/1609
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prevent multiple instance of the `dev` command running at the same time with a File lock","articleBody":"It's currently possible to run the `dev` command in multiple different sessions at the same time, which causes all sorts of issues, including:\r\n\r\n- Cannot find module dev-run-worker.mjs error\r\n- Some runs getting \"stuck\" while others work\r\n\r\nWe should add a \"file lock\" mechanism on the dev command to prevent this. This would create a file in `.trigger/dev.lock` with the `pid` of the dev CLI process and if it already exists, we would exit with a helpful message about how to recover from this issue (or even better, give an option to stop the other dev CLI process). ","author":{"url":"https://github.com/ericallam","@type":"Person","name":"ericallam"},"datePublished":"2025-01-13T22:24:28Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/1609"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:94000e1d-3922-247a-a8e5-6477b95ab9c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7DC:258059:2F2CB48:42D1DCF:6AFAE22A |
| html-safe-nonce | 91896fa1e798390996d271a0da299a913799d02352556cbadd98eeaded13d948 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0RDOjI1ODA1OToyRjJDQjQ4OjQyRDFEQ0Y6NkFGQUUyMkEiLCJ2aXNpdG9yX2lkIjoiODcyOTk4MjM4NTQ0NzQ2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6b7be842d40dd82f74807a9540dcc7210734c1bb879542afce2bca1a852a4dd4 |
| hovercard-subject-tag | issue:2785592576 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/1609/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8474abaec429e4b0d31842732bdbe320bb3b82cac1637ef901f3482633241a81/triggerdotdev/trigger.dev/issues/1609 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8474abaec429e4b0d31842732bdbe320bb3b82cac1637ef901f3482633241a81/triggerdotdev/trigger.dev/issues/1609 |
| og:image:alt | It's currently possible to run the dev command in multiple different sessions at the same time, which causes all sorts of issues, including: Cannot find module dev-run-worker.mjs error Some runs ge... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericallam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width