| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1f00ebce-ebec-6742-6831-8b23eb780d11 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 817A:3C3A87:64B458:8A4DD9:6A4D41F4 |
| html-safe-nonce | 06fa41ad5b1ba616c7c9d4965bfb6733331aabe82b95c548ffaf8cdbcab466e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTdBOjNDM0E4Nzo2NEI0NTg6OEE0REQ5OjZBNEQ0MUY0IiwidmlzaXRvcl9pZCI6IjcyODMwMzA2OTkwNjk0ODk2NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8ef7ea53db16829c44ccfabf55a6d5d33546a7bf6cfc04102cf2a8d8bd04fd37 |
| hovercard-subject-tag | pull_request:2716983634 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/59345/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f22c648f710c50123743c20d249d6e1785ba152ea442cb8b12e686934fb442dd/nodejs/node/pull/59345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f22c648f710c50123743c20d249d6e1785ba152ea442cb8b12e686934fb442dd/nodejs/node/pull/59345 |
| og:image:alt | Closes #45182
This adds the --watch-pattern cli option to Node.js, which allows to watch files and directories with the use of globs. This PR is a non-breaking change opposed to --watch-path option... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | louiellan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/59345#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F59345 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F59345 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode |
| Reload | https://github.com/nodejs/node/pull/59345 |
| Reload | https://github.com/nodejs/node/pull/59345 |
| Reload | https://github.com/nodejs/node/pull/59345 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
|
nodejs
| https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
|
Notifications
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Fork
36k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Star
118k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Code
| https://github.com/nodejs/node |
|
Issues
1.4k
| https://github.com/nodejs/node/issues |
|
Pull requests
958
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
0
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
|
Code
| https://github.com/nodejs/node |
|
Issues
| https://github.com/nodejs/node/issues |
|
Pull requests
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
| louiellan | https://github.com/louiellan |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| louiellan:glob-on-watch-path | https://github.com/louiellan/node/tree/glob-on-watch-path |
| Conversation | https://github.com/nodejs/node/pull/59345 |
| Commits5 (5) | https://github.com/nodejs/node/pull/59345/commits |
| Checks | https://github.com/nodejs/node/pull/59345/checks |
| Files changed | https://github.com/nodejs/node/pull/59345/files |
| lib: adding --watch-pattern to support watching files/dirs with glob | https://github.com/nodejs/node/pull/59345#top |
| louiellan | https://github.com/louiellan |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| louiellan:glob-on-watch-path | https://github.com/louiellan/node/tree/glob-on-watch-path |
|
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| Aug 4, 2025 | https://github.com/nodejs/node/pull/59345#issue-3288325956 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
| #45182 | https://github.com/nodejs/node/issues/45182 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
|
fs
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs |
|
needs-ci
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci |
| Aug 4, 2025 | https://github.com/nodejs/node/pull/59345#event-18963866041 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Aug 4, 2025 | https://github.com/nodejs/node/pull/59345#issuecomment-3149980509 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
| Codecov | https://app.codecov.io/gh/nodejs/node/pull/59345?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| 55b7d28 | https://app.codecov.io/gh/nodejs/node/commit/55b7d2890dc32a445808ff695addb50e1029fd0a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| bf21496 | https://app.codecov.io/gh/nodejs/node/commit/bf21496400e5b96679f6e5ea746b7ea0e8b5d215?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Files with missing lines | https://app.codecov.io/gh/nodejs/node/pull/59345?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| lib/internal/fs/glob.js | https://app.codecov.io/gh/nodejs/node/pull/59345?src=pr&el=tree&filepath=lib%2Finternal%2Ffs%2Fglob.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2ZzL2dsb2IuanM= |
| 115 files with indirect coverage changes | https://app.codecov.io/gh/nodejs/node/pull/59345/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| JS Bundle Analysis | https://docs.codecov.com/docs/javascript-bundle-analysis |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
|
| https://github.com/louiellan |
| lib: support glob on --watch-path | https://github.com/nodejs/node/pull/59345/commits/46be19d5ef3adaec1a527121d67c37b567861f73 |
| 46be19d | https://github.com/nodejs/node/pull/59345/commits/46be19d5ef3adaec1a527121d67c37b567861f73 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| force-pushed | https://github.com/nodejs/node/compare/0c53c428b5d1c9a2592c504b4e81661eccd96bb0..46be19d5ef3adaec1a527121d67c37b567861f73 |
| 0c53c42 | https://github.com/nodejs/node/commit/0c53c428b5d1c9a2592c504b4e81661eccd96bb0 |
| 46be19d | https://github.com/nodejs/node/commit/46be19d5ef3adaec1a527121d67c37b567861f73 |
|
Compare
| https://github.com/nodejs/node/compare/0c53c428b5d1c9a2592c504b4e81661eccd96bb0..46be19d5ef3adaec1a527121d67c37b567861f73 |
| August 5, 2025 03:14 | https://github.com/nodejs/node/pull/59345#event-18982156568 |
| https://github.com/MoLow |
| MoLow | https://github.com/MoLow |
|
Aug 5, 2025
| https://github.com/nodejs/node/pull/59345#pullrequestreview-3087205530 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/59345/files/46be19d5ef3adaec1a527121d67c37b567861f73 |
| lib/internal/main/watch_mode.js | https://github.com/nodejs/node/pull/59345/files/46be19d5ef3adaec1a527121d67c37b567861f73#diff-61df471e4c313c778a503ae1a523d4839b71600b410e2c16b2f2d85101dbcda6 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
|
| https://github.com/louiellan |
|
| https://github.com/MoLow |
| lib: filter modules when --watch-pattern is not passed | https://github.com/nodejs/node/pull/59345/commits/bf21496400e5b96679f6e5ea746b7ea0e8b5d215 |
| bf21496 | https://github.com/nodejs/node/pull/59345/commits/bf21496400e5b96679f6e5ea746b7ea0e8b5d215 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| August 12, 2025 02:02 | https://github.com/nodejs/node/pull/59345#event-19101236215 |
|
| https://github.com/louiellan |
| src,lib: added --watch-pattern option | https://github.com/nodejs/node/pull/59345/commits/c29982b0fefc85f6250edad23c89c9ce4477b660 |
| c29982b | https://github.com/nodejs/node/pull/59345/commits/c29982b0fefc85f6250edad23c89c9ce4477b660 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| force-pushed | https://github.com/nodejs/node/compare/1e1b8598d11caa69e4874777c486f15bcafab088..c29982b0fefc85f6250edad23c89c9ce4477b660 |
| 1e1b859 | https://github.com/nodejs/node/commit/1e1b8598d11caa69e4874777c486f15bcafab088 |
| c29982b | https://github.com/nodejs/node/commit/c29982b0fefc85f6250edad23c89c9ce4477b660 |
|
Compare
| https://github.com/nodejs/node/compare/1e1b8598d11caa69e4874777c486f15bcafab088..c29982b0fefc85f6250edad23c89c9ce4477b660 |
| August 12, 2025 02:40 | https://github.com/nodejs/node/pull/59345#event-19101592163 |
| louiellan | https://github.com/louiellan |
| August 15, 2025 12:28 | https://github.com/nodejs/node/pull/59345#commits-pushed-3dd9c46 |
|
| https://github.com/louiellan |
| lib: remove unused primordials | https://github.com/nodejs/node/pull/59345/commits/3dd9c46730b5af5edd3b7abcc1ccb493e1c5b2e9 |
| 3dd9c46 | https://github.com/nodejs/node/pull/59345/commits/3dd9c46730b5af5edd3b7abcc1ccb493e1c5b2e9 |
|
| https://github.com/louiellan |
| docs: added docs for --watch-pattern | https://github.com/nodejs/node/pull/59345/commits/549bae4b196ff2d5d193ad15d3f09b828f69ac57 |
| 549bae4 | https://github.com/nodejs/node/pull/59345/commits/549bae4b196ff2d5d193ad15d3f09b828f69ac57 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| Aug 15, 2025 | https://github.com/nodejs/node/pull/59345#event-19170953575 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
|
Aug 15, 2025
| https://github.com/nodejs/node/pull/59345#ref-pullrequest-3324324232 |
|
lib: support glob on --watch-path
#59478
| https://github.com/nodejs/node/pull/59478 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| Aug 15, 2025 | https://github.com/nodejs/node/pull/59345#issuecomment-3190597353 |
| #59478 | https://github.com/nodejs/node/pull/59478 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
| https://github.com/louiellan |
| louiellan | https://github.com/louiellan |
| August 15, 2025 04:45 | https://github.com/nodejs/node/pull/59345#event-19170998538 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Apr 19, 2026 | https://github.com/nodejs/node/pull/59345#issuecomment-4274948393 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
stale
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Astale |
|
stale
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Astale |
| Apr 19, 2026 | https://github.com/nodejs/node/pull/59345#event-24644859665 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F59345 |
|
| https://github.com/MoLow |
|
MoLow
| https://github.com/MoLow |
|
| https://github.com/nodejs/node/pull/59345/files/46be19d5ef3adaec1a527121d67c37b567861f73 |
|
fs
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs |
|
needs-ci
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci |
|
Support file globs with --watch-path
| https://github.com/nodejs/node/issues/45182 |
| Please reload this page | https://github.com/nodejs/node/pull/59345 |
|
| https://github.com/louiellan |
|
| https://github.com/MoLow |
|
| https://github.com/nodejs-github-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |