<commit_before>#!/bin/bash

script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cwd=`pwd`
tools_server="${script_dir}/../program.js"

# Forever is a node.js tool used to keep programs running.

echo
echo "Starting: ${tools_server}"
forever start $tools_server

echo
forever list<commit_msg>Only restarting 50 times.<commit_after>#!/bin/bash

script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cwd=`pwd`
tools_server="${script_dir}/../program.js"

# Forever is a node.js tool used to keep programs running.

echo
echo "Starting: ${tools_server}"
forever start $tools_server -m 50

echo
forever list
{'fraction_non_alphanumeric': 0.16774193548387098, 'fraction_numerical': 0.00967741935483871, 'mean_word_length': 5.336734693877551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1140936', 'n_tokens_mistral': 234, 'n_tokens_neox': 213, 'n_words': 60}