Opened 21 months ago

#14623 new feature request

Allow qAddDependentFile on directories

Reported by: ryantrinkle Owned by:
Priority: normal Milestone:
Component: Template Haskell Version: 8.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Currently, qAddDependentFile can only be applied to files; when applied to a directory, the following exception occurs:

*** Exception: path/to/dir: openBinaryFile: inappropriate type (is a directory)

However, it can be useful to walk directory trees at compile time with TemplateHaskell, and it would be nice to ensure that rebuilds reflect changes to directory structure, even when files are not changed.

Change History (0)

Note: See TracTickets for help on using tickets.