Downloads:
4,509
Downloads of v 1.13.0:
32
Last Update:
05 Jun 2020
Package Maintainer(s):
Software Author(s):
- passcod
Tags:
watchexec file notify automatically execute watcher monitor change- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
watchexec
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
4,509
Downloads of v 1.13.0:
32
Maintainer(s):
Software Author(s):
- passcod
watchexec
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
This package was rejected on 10 Jul 2020. The reviewer chocolatey-ops has listed the following reason(s):
watchexec
Software development often involves running the same commands over and over. Boring!
watchexec
is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.
Example use cases:
* Automatically run unit tests
* Run linters/syntax checkers
## Features
* Simple invocation and use
* Runs on OS X, Linux and Windows
* Monitors current directory and all subdirectories for changes
* Uses most efficient event polling mechanism for your platform (except for BSD)
* Coalesces multiple filesystem events into one, for editors that use swap/backup files during saving
* By default, uses .gitignore
to determine which files to ignore notifications for
* Support for watching files with a specific extension
* Support for filtering/ignoring events based on glob patterns
* Launches child processes in a new process group
* Sets the following environment variables in the child process:
* If a single file changed (depending on the event type):
* $WATCHEXEC_CREATED_PATH
, the path of the file that was created
* $WATCHEXEC_REMOVED_PATH
, the path of the file that was removed
* $WATCHEXEC_RENAMED_PATH
, the path of the file that was renamed
* $WATCHEXEC_WRITTEN_PATH
, the path of the file that was modified
* $WATCHEXEC_META_CHANGED_PATH
, the path of the file whose metadata changed
* If multiple files changed:
* $WATCHEXEC_COMMON_PATH
, the longest common path of all of the files that triggered a change
* Optionally clears screen between executions
* Optionally restarts the command with every modification (good for servers)
* Does not require a language runtime
## Anti-Features
* Not tied to any particular language or ecosystem
* Does not require a cryptic command line involving xargs
## Usage Examples
Watch all JavaScript, CSS and HTML files in the current directory and all subdirectories for changes, running make
when a change is detected:
$ watchexec --exts js,css,html make
Call make test
when any file changes in this directory/subdirectory, except for everything below target
:
$ watchexec -i target make test
Call ls -la
when any file changes in this directory/subdirectory:
$ watchexec -- ls -la
Call/restart python server.py
when any Python file in the current directory (and all subdirectories) changes:
$ watchexec -e py -r python server.py
Call/restart my_server
when any file in the current directory (and all subdirectories) changes, sending SIGKILL
to stop the child process:
$ watchexec -r -s SIGKILL my_server
Send a SIGHUP to the child process upon changes (Note: with using -n | --no-shell
here, we're executing my_server
directly, instead of wrapping it in a shell:
$ watchexec -n -s SIGHUP my_server
Run make
when any file changes, using the .gitignore
file in the current directory to filter:
$ watchexec make
Run make
when any file in lib
or src
changes:
$ watchexec -w lib -w src make
## Credits
* notify for doing most of the heavy-lifting
* globset for super-fast glob matching
md5: AFFCCD7F79BC1C6CCB39C3C054ED67A4 | sha1: A7258A48FD8D43BBA464BE3AD1D6507F526F8A32 | sha256: C45F945BA2AEC1A9C71B538C818A6B4FF455641B09AE3E5C56530C8613AD17FE | sha512: A6DF56E4F687A1F74C33D1FFB69808DDA5494A2BD43D40EFAC701065DE615262C5ACFA1098027243B634321334C667EB7146F2C4298530ADF7E0A433FD23ACD6
Log in or click on link to see number of positives.
- watchexec.1.13.0.nupkg (6467452da664) - ## / 63
- watchexec-1.13.0-x86_64-pc-windows-gnu_x64.zip (c45f945ba2ae) - ## / 64
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
watchexec 2.0.0 | 52 | Sunday, April 21, 2024 | Approved | |
watchexec 1.25.1 | 271 | Saturday, January 6, 2024 | Approved | |
watchexec 1.25.0 | 46 | Tuesday, January 2, 2024 | Approved | |
watchexec 1.24.2 | 75 | Wednesday, December 20, 2023 | Approved | |
watchexec 1.24.1 | 64 | Tuesday, December 12, 2023 | Approved | |
watchexec 1.24.0 | 35 | Sunday, December 10, 2023 | Approved | |
watchexec 1.23.0 | 258 | Thursday, August 31, 2023 | Approved | |
watchexec 1.22.3 | 245 | Monday, May 15, 2023 | Approved | |
watchexec 1.22.2 | 173 | Thursday, March 23, 2023 | Approved | |
watchexec 1.22.0 | 65 | Sunday, March 19, 2023 | Approved | |
watchexec 1.21.1 | 126 | Thursday, February 16, 2023 | Approved | |
watchexec 1.21.0 | 130 | Monday, January 9, 2023 | Approved | |
watchexec 1.20.6 | 114 | Friday, December 9, 2022 | Approved | |
watchexec 1.20.5 | 263 | Thursday, August 4, 2022 | Approved | |
watchexec 1.20.4 | 144 | Saturday, July 2, 2022 | Approved | |
watchexec 1.20.3 | 62 | Thursday, June 30, 2022 | Approved | |
watchexec 1.20.2 | 58 | Wednesday, June 29, 2022 | Approved | |
watchexec 1.19.0 | 178 | Saturday, April 16, 2022 | Approved | |
watchexec 1.18.12 | 48 | Wednesday, April 13, 2022 | Approved | |
watchexec 1.18.11 | 118 | Monday, March 28, 2022 | Approved | |
watchexec 1.18.9 | 57 | Friday, March 18, 2022 | Approved | |
watchexec 1.18.8 | 58 | Thursday, March 17, 2022 | Approved | |
watchexec 1.17.1 | 316 | Sunday, December 19, 2021 | Approved | |
watchexec 1.17.0 | 328 | Sunday, July 25, 2021 | Approved | |
watchexec 1.16.1 | 161 | Sunday, May 23, 2021 | Approved | |
watchexec 1.16.0 | 86 | Friday, May 21, 2021 | Approved | |
watchexec 1.13.1 | 471 | Tuesday, June 30, 2020 | Approved | |
watchexec 1.10.3 | 432 | Tuesday, August 13, 2019 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about watchexec and the watchexec package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or watchexec, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
chocolatey-ops (reviewer) on 05 Jun 2020 03:35:30 +00:00:
watchexec has failed automated validation.
Requirements
Requirements represent the minimum quality of a package that is acceptable. When a package version has failed requirements, the package version requires fixing and/or response by the maintainer. Provided a Requirement has flagged correctly, it must be fixed before the package version can be approved. The exact same version should be uploaded during moderation review.
Guidelines
Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.
Notes
Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.
chocolatey-ops (reviewer) on 05 Jun 2020 20:57:02 +00:00:
watchexec has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/27857e767be914233740c3ec9f7c0b95 for details.
This is an FYI only. There is no action you need to take.
chocolatey-ops (reviewer) on 25 Jun 2020 20:58:09 +00:00:
We've found watchexec v1.13.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.
Take action:
If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.
Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.
chocolatey-ops (reviewer) on 10 Jul 2020 21:01:37 +00:00:
Unfortunately there has not been progress to move watchexec v1.13.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.
Status Change - Changed status of package from 'submitted' to 'rejected'.