guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
138 stars 7 forks source link

feat: watch-invalidation option #136

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

Adds a new watch-invalidation configuration option which allows customizing how invalidations for long-running tasks should work.

The default is the existing behaviour of terminating and re-running the currently running task, with a new option, watch-invalidation: 'skip-running' which skips termination and re-execution if the task is already running.