Created
May 5, 2023 22:34
-
-
Save BeSpunky/1ce1ad4e29b339bec11cd2d416cb676c to your computer and use it in GitHub Desktop.
ScriptKit Script: Watch scripts and run a partial rebuild of the dependency graph when a script is changed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name: Watch Scripts | |
// Description: Watch scripts and run a partial rebuild of the dependency graph when a script is changed. | |
// Watch: ./*.ts | |
// Author: Shy Agam | |
// Twitter: @shyagam | |
import "@johnlindquist/kit" | |
const triggeringFile = await arg(); | |
await run('update-scripts-dependency-graph', triggeringFile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment