Skip to content
Snippets Groups Projects
  • Mario Oenning's avatar
    7f9ac28f
    feat(deps): add watchfiles · 7f9ac28f
    Mario Oenning authored
    
    When running aurweb with hot-reloading, the CPU consumption is quite high.
    This is because it is using "StatReload" for detecting modified files.
    (which seems to be rather inefficient)
    
    When "watchfiles" is installed it'll automatically usees that instead and
    CPU load goes down to 1%.
    watchfiles uses filesystem events for detecting changes and is way more efficient.
    
    Signed-off-by: default avatarmoson-mo <mo-son@mailbox.org>
    Verified
    7f9ac28f
    History
    feat(deps): add watchfiles
    Mario Oenning authored
    
    When running aurweb with hot-reloading, the CPU consumption is quite high.
    This is because it is using "StatReload" for detecting modified files.
    (which seems to be rather inefficient)
    
    When "watchfiles" is installed it'll automatically usees that instead and
    CPU load goes down to 1%.
    watchfiles uses filesystem events for detecting changes and is way more efficient.
    
    Signed-off-by: default avatarmoson-mo <mo-son@mailbox.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.