 
   # %(process_num) must be present within process_name when numprocs > 1
   if section.numprocs > 1
-    section.process_name = "%(program_name)s_%(process_num)d"
-
+    section.process_name = '%(program_name)s_%(process_num)d'
 
   supervisordSection = "\n[program:#{app}]\n"
   for key, val of section
     # longest supervisord conf's length is 31
-    space = new Array(32-key.length).join(" ")
+    space = new Array(32 - key.length).join(' ')
     supervisordSection += "#{key}#{space} = #{val}\n"
 
   return supervisordSection

  """

# becareful while editing this function, any change will affect every worker
generateWorkerSection = (app, options={}, KONFIG) ->

  {projectRoot} = KONFIG
  {supervisord: {logdir}} = KONFIG

  section =
    command                 : "command"
    stdout_logfile_maxbytes : "10MB"
    stdout_logfile_backups  : 50
    stderr_logfile          : "#{logdir}/#{app}.log"
    stdout_logfile          : "#{logdir}/#{app}.log"
    numprocs                : options.instances or 1
    numprocs_start          : 0
    directory               : projectRoot

    # other on normal. if we want to watch go files use previous one.
    command = options.supervisord.command
    if typeof command is 'object'
      { run, watch } = command
      options.supervisord.command = if KONFIG.runGoWatcher then watch else run

    groupConfigs[options.group]       or= {}
