diff --git a/job.go b/job.go index a566152..13dfb8e 100644 --- a/job.go +++ b/job.go @@ -165,6 +165,7 @@ func (j *jobHandler) add(cmd string, args []string, path string) *job { stderr: os.Stderr, } j.jobs[j.latestID] = jb + hooks.Em.Emit("job.add", jb.lua()) return jb }