Skip to content

Commit

Permalink
Allow --no-watch-filesystem with --pantsd
Browse files Browse the repository at this point in the history
Addresses #21448
  • Loading branch information
x0f0 committed Nov 6, 2024
1 parent 92ea576 commit 86c189f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/option/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2054,12 +2054,12 @@ def validate_instance(cls, opts):
)
)

if not opts.watch_filesystem and (opts.pantsd or opts.loop):
if not opts.watch_filesystem and opts.loop:
raise OptionsError(
softwrap(
"""
The `--no-watch-filesystem` option may not be set if
`--pantsd` or `--loop` is set.
`--loop` is set.
"""
)
)
Expand Down

0 comments on commit 86c189f

Please sign in to comment.