patrick-kidger / patrick-kidger/typst_pyimage

Add support for watching additional files in watch mode

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
119
Forks
6
Avg merge
1d 10h
Merged PRs (30d)
1

Description

In a project I am currently working on, I have a typst paper within a larger python project, and am importing code from python modules in the same directory. It would be great to be able to pass a wildcard, i.e. *.py to the watch command, and have it reset the cache and rebuild when any of the matched files changes. This could also be useful for input data files, i.e. a wildcard on *.csv or the like.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the watch command and the cache-reset and rebuild logic. Add support for wildcard paths such as *.py and *.csv, then verify that changes to matching files reset the cache and trigger a rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.