gitai-commit-nodejs/your_program.sh

18 lines
432 B
Bash

#!/bin/sh
#
# Use this script to run your program LOCALLY.
#
# Note: Changing this script WILL NOT affect how Vizh.ai runs your program.
#
# Learn more: https://docs.vizh.ai/program-interface
set -e # Exit early if any commands fail
# Copied from .vizh/run.sh
#
# - Edit this to change how your program runs locally
# - Edit .vizh/run.sh to change how your program runs remotely
exec npx ts-node $(dirname $0)/src/index.ts "$@"