Skip to content

Instantly share code, notes, and snippets.

@BeSpunky
Created May 5, 2023 22:34
Show Gist options
  • Save BeSpunky/1ce1ad4e29b339bec11cd2d416cb676c to your computer and use it in GitHub Desktop.
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.
// 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