Skip to content

watch does not create a new .svg output when changing the page fill #6755

@mtassemeier

Description

@mtassemeier

Description

When changing the page fill attribute to change the background color of the document, typst watch does not create an updated .svg output.

Steps to reproduce:

Example Typst document (called test.typ):

#set page(fill: red) // <= changing the fill color is not reflected in the output

Hello World

watch command (running in the background):

typst watch ./test.typ ./test.svg

The fill color of the generated .svg file changes after any other change was made in the typst file, like changing the text or when watch was restarted.

Tested on Linux (Ubuntu 24.04.3 and NixOs)
Typst Version: 0.13.1

Reproduction URL

No response

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcliAbout Typst's command line interface.good first issueGood for newcomersincrementalAbout Typst's incremental compilation.svgAnything about the file format for people who like to have fun.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions