Title: Add a generic file watcher function in HelpersCommon.psm1 · Issue #4524 · PowerShell/PowerShell · GitHub
Open Graph Title: Add a generic file watcher function in HelpersCommon.psm1 · Issue #4524 · PowerShell/PowerShell
X Title: Add a generic file watcher function in HelpersCommon.psm1 · Issue #4524 · PowerShell/PowerShell
Description: See #4523 (comment) Polling for a file can be a common pattern. Consider implementing a generic file watcher function in HelpersCommon.psm1. while (((Get-Date) - $startTime).TotalSeconds -lt 10 -and (-not (Test-Path "$HOME/nativeCommandP...
Open Graph Description: See #4523 (comment) Polling for a file can be a common pattern. Consider implementing a generic file watcher function in HelpersCommon.psm1. while (((Get-Date) - $startTime).TotalSeconds -lt 10 -an...
X Description: See #4523 (comment) Polling for a file can be a common pattern. Consider implementing a generic file watcher function in HelpersCommon.psm1. while (((Get-Date) - $startTime).TotalSeconds -lt 10 -an...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4524
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a generic file watcher function in HelpersCommon.psm1","articleBody":"See https://github.com/PowerShell/PowerShell/pull/4523#discussion_r131796738\r\n\r\nPolling for a file can be a common pattern. Consider implementing a generic file watcher function in HelpersCommon.psm1.\r\n```\r\nwhile (((Get-Date) - $startTime).TotalSeconds -lt 10 -and (-not (Test-Path \"$HOME/nativeCommandProcessor.Success\"))) {\r\n Start-Sleep -Milliseconds 100\r\n}\r\n```","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2017-08-08T01:03:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4524/PowerShell/issues/4524"}
| 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:c654b9f5-b825-6285-8328-b316ad91a165 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E52E:397A9E:1230619:1A736C3:6A5777A0 |
| html-safe-nonce | 4ce6c191a5b12d3233b67a727de6a3fa427485d0e156314e314ebc48a6253df3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTJFOjM5N0E5RToxMjMwNjE5OjFBNzM2QzM6NkE1Nzc3QTAiLCJ2aXNpdG9yX2lkIjoiNDk0OTY4NjE4MTAzNjUyMTM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d81d4ca76f9b0de596f76eb335798ef733ab9b8e38752ac02e5a6844e711f595 |
| hovercard-subject-tag | issue:248572035 |
| 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/PowerShell/PowerShell/4524/issue_layout |
| twitter:image | https://opengraph.githubassets.com/acc4b8e8e88406574d93864b1f5af94056171fa212b8c262e1a2fec3fc80b918/PowerShell/PowerShell/issues/4524 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/acc4b8e8e88406574d93864b1f5af94056171fa212b8c262e1a2fec3fc80b918/PowerShell/PowerShell/issues/4524 |
| og:image:alt | See #4523 (comment) Polling for a file can be a common pattern. Consider implementing a generic file watcher function in HelpersCommon.psm1. while (((Get-Date) - $startTime).TotalSeconds -lt 10 -an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | c0ca805e53f128ba1f966be1d3ccd81d0d1959c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width