Skip to content

Commit

Permalink
update primary branch name, add notice to README
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Mar 22, 2022
1 parent 5f6b76b commit dfd1631
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
push:
branches:
- master
- main
tags:
- '**'
pull_request: {}
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

build:
name: build py3.${{ matrix.python-version }} on ${{ matrix.platform || matrix.os }}
# needs: [test, lint]
needs: [test, lint]
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017, 2018, 2019, 2020 Samuel Colvin
Copyright (c) 2017, 2018, 2019, 2020, 2021, 2022 Samuel Colvin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# watchgod

[![CI](https://github.com/samuelcolvin/watchgod/workflows/ci/badge.svg?event=push)](https://github.com/samuelcolvin/watchgod/actions?query=event%3Apush+branch%3Amaster+workflow%3Aci)
[![Coverage](https://codecov.io/gh/samuelcolvin/watchgod/branch/master/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/watchgod)
[![CI](https://github.com/samuelcolvin/watchgod/workflows/ci/badge.svg?event=push)](https://github.com/samuelcolvin/watchgod/actions?query=event%3Apush+branch%3Amain+workflow%3Aci)
[![Coverage](https://codecov.io/gh/samuelcolvin/watchgod/branch/main/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/watchgod)
[![pypi](https://img.shields.io/pypi/v/watchgod.svg)](https://pypi.python.org/pypi/watchgod)
[![license](https://img.shields.io/github/license/samuelcolvin/watchgod.svg)](https://github.com/samuelcolvin/watchgod/blob/master/LICENSE)
[![license](https://img.shields.io/github/license/samuelcolvin/watchgod.svg)](https://github.com/samuelcolvin/watchgod/blob/main/LICENSE)

Simple, modern and high performance file watching and code reload in python.

## NOTE! New Unstable Version

The docs here refer to watchgod version `v0.10a1` which is a significant rewrite from `v0.8`,
the docs for `v0.8` are available [here](https://github.com/samuelcolvin/watchgod/tree/v0.8.1).

Please try `v0.10a1` (installed via `pip install watchgod==v0.10a1`) and give feedback,
[here](https://github.com/samuelcolvin/watchgod/issues/25).

---

Underlying file system notifications are now handled by the [Notify](https://github.com/notify-rs/notify) rust library.

*(watchgod is inspired by [watchdog](https://pythonhosted.org/watchdog/), hence the name, but tries to fix
Expand All @@ -18,7 +28,7 @@ concurrency using threading, challenges around debouncing changes and bugs which
**watchgod** requires Python 3.7 - 3.10.

```bash
pip install watchgod
pip install watchgod==v0.10a1
```

Binaries are available for:
Expand Down Expand Up @@ -144,7 +154,7 @@ for changes in watch('my/project', watch_filter=only_added):
```

For more details, checkout
[`filters.py`](https://github.com/samuelcolvin/watchgod/blob/master/watchgod/filters.py),
[`filters.py`](https://github.com/samuelcolvin/watchgod/blob/main/watchgod/filters.py),
it's pretty simple.

## CLI
Expand Down

0 comments on commit dfd1631

Please sign in to comment.