[PR #29] [CLOSED] --watch #1328

Closed
opened 2026-03-01 21:50:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/29
Author: @jnewland
Created: 2/10/2019
Status: Closed

Base: masterHead: watch


📝 Commits (1)

📊 Changes

3 files changed (+90 additions, -27 deletions)

View changed files

📝 cmd/root.go (+84 -27)
📝 go.mod (+2 -0)
📝 go.sum (+4 -0)

📄 Description

This PR adds support for a --watch or -w flag to act. When provided, act doesn't exit after the first run, but instead runs a goroutine that watches the local directory for changes (ignoring files in .gitignore). When changes are detected, the workflow file is parsed and run again.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/29 **Author:** [@jnewland](https://github.com/jnewland) **Created:** 2/10/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `watch` --- ### 📝 Commits (1) - [`db7a9b5`](https://github.com/nektos/act/commit/db7a9b57f9e84be99f740ba76bb0e5b592645f7d) --watch ### 📊 Changes **3 files changed** (+90 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `cmd/root.go` (+84 -27) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+4 -0) </details> ### 📄 Description This PR adds support for a `--watch` or `-w` flag to `act`. When provided, `act` doesn't exit after the first run, but instead runs a goroutine that watches the local directory for changes (ignoring files in `.gitignore`). When changes are detected, the workflow file is parsed and run again. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:50:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1328
No description provided.