{"id":20555135,"url":"https://github.com/iamyoki/playwright-watch","last_synced_at":"2025-06-26T08:35:54.218Z","repository":{"id":43673716,"uuid":"401010907","full_name":"iamyoki/playwright-watch","owner":"iamyoki","description":"🙈🐵 Run Playwright in watch mode","archived":false,"fork":false,"pushed_at":"2022-02-24T19:54:24.000Z","size":7319,"stargazers_count":57,"open_issues_count":10,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T20:17:14.692Z","etag":null,"topics":["automation","chrome","cli","end-2-end-testing","npm","playwright","playwright-watch","test"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamyoki.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"Contributing.md","funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-29T10:17:23.000Z","updated_at":"2024-11-30T05:56:46.000Z","dependencies_parsed_at":"2022-09-26T17:31:32.624Z","dependency_job_id":null,"html_url":"https://github.com/iamyoki/playwright-watch","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/iamyoki/playwright-watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamyoki%2Fplaywright-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamyoki%2Fplaywright-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamyoki%2Fplaywright-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamyoki%2Fplaywright-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamyoki","download_url":"https://codeload.github.com/iamyoki/playwright-watch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamyoki%2Fplaywright-watch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262030775,"owners_count":23247716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","chrome","cli","end-2-end-testing","npm","playwright","playwright-watch","test"],"created_at":"2024-11-16T03:16:38.764Z","updated_at":"2025-06-26T08:35:54.193Z","avatar_url":"https://github.com/iamyoki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eplaywright-watch\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/playwright-watch\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/playwright-watch\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://www.npmjs.com/package/playwright-watch\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/playwright-watch/latest\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/iamyoki/playwright-watch\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/playwright-watch\" alt=\"github\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/iamyoki/playwright-watch\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/iamyoki/playwright-watch\" alt=\"github issues\"\u003e\n  \u003c/a\u003e\n\n  \u003cbr\u003e\n\n  \u003ca href=\"https://app.travis-ci.com/github/iamyoki/playwright-watch\"\u003e\n    \u003cimg src=\"https://app.travis-ci.com/iamyoki/playwright-watch.svg\" alt=\"build\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/iamyoki/playwright-watch/actions/workflows/testing.yml\"\u003e\n    \u003cimg alt=\"GitHub Testing Status\" src=\"https://github.com/iamyoki/playwright-watch/actions/workflows/testing.yml/badge.svg\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://codecov.io/gh/iamyoki/playwright-watch\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/iamyoki/playwright-watch/branch/main/graph/badge.svg?token=RD13S01FD1\"/\u003e\n  \u003c/a\u003e\n    \n\u003c/div\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ccode\u003eplaywright\u003c/code\u003e\n  \u003ccode\u003e+\u003c/code\u003e\n  \u003ccode\u003ewatch\u003c/code\u003e\n  \u003ccode\u003e=\u003c/code\u003e\n  \u003ccode\u003eplaywright-watch\u003c/code\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e🙈🐵 Run Playwright in watch mode\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Usage\n\nuse exactly the same as Playwright, only in watch mode\n```bash\nnpx playwright-watch test\n```\n\n\u003e Note: There is a peer dependency on `playwright`.\n\n### Or you can install locally\n\n```bash\nyarn add playwright-watch -D\n\n#or\n\nnpm install playwright-watch --save-dev\n```\n\nAdd script to your package.json\n\n```json\n{\n  \"test:watch\": \"playwright-watch test\"\n}\n```\n\nor\n\n```json\n{\n  \"test\": \"playwright test\",\n  \"test:watch\": \"playwright-watch exec yarn test\"\n}\n```\n\n## CLI Details\n\nrun `npx playwright-watch --help` to see more details.\n\n```bash\n🙈 playwright-watch\n\n🐵 Run Playwright in watch mode\n\nCommands:\n  playwright-watch \u003ccommands..\u003e       Use the same as Playwright but under watch\n                                      (e.g. playwright-watch test)     [default]\n  playwright-watch exec \u003ccommands..\u003e  Run commands when changes are detected\n                                      (e.g. playwright-watch exec yarn test)\n\nOptions:\n  -h, --help     Show help                                             [boolean]\n  -v, --version  Show version number                                   [boolean]\n  -c, --config   Configuration file of Playwright (default:\n                 playwright.config.js), the `testMatch` prop will be watch path\n                 (default: `.*(test|spec).(js|ts|mjs)`).\n\nExamples:\n  playwright-watch test\n  playwright-watch test --config tests/playwright.config.js\n\n  playwright-watch exec yarn playwright test\n  playwright-watch exec yarn run test:e2e\n  playwright-watch exec echo changed\n```\n\n## Author\n\n[Yoki Yu (iamyoki)](https://github.com/iamyoki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamyoki%2Fplaywright-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamyoki%2Fplaywright-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamyoki%2Fplaywright-watch/lists"}