<commit_before>#!/usr/bin/env node

var fs = require('fs')
var respawn = require('respawn')

var BIN_SH = process.platform === 'android' ? '/system/bin/sh' : '/bin/sh'
var CMD_EXE = process.env.comspec || 'cmd.exe'

var servicesFile = process.argv[2]
var pidsFile = process.argv[3]

if (!servicesFile) {
  console.error('Usage: lil-pids [services-file] [pids-file?]')
  process.exit(1)
}

if (!fs.existsSync(servicesFile)) {
  console.error(servicesFile + ' does not exist')
  process.exit(2)
}

var padding = ['', ' ', '  ', '   ', '    ']
var services = []
var monitors = {}

fs.watch(servicesFile, update)<commit_msg>do not bail if service file does not exist<commit_after>#!/usr/bin/env node

var fs = require('fs')
var respawn = require('respawn')

var BIN_SH = process.platform === 'android' ? '/system/bin/sh' : '/bin/sh'
var CMD_EXE = process.env.comspec || 'cmd.exe'

var servicesFile = process.argv[2]
var pidsFile = process.argv[3]

if (!servicesFile) {
  console.error('Usage: lil-pids [services-file] [pids-file?]')
  process.exit(1)
}

var padding = ['', ' ', '  ', '   ', '    ']
var services = []
var monitors = {}

fs.watch(servicesFile, update)
{'fraction_non_alphanumeric': 0.1884681583476764, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 4.100877192982456, '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': '543755', 'n_tokens_mistral': 436, 'n_tokens_neox': 424, 'n_words': 92}