Skip to content

Instantly share code, notes, and snippets.

@spddl
Last active June 14, 2021 13:12
Show Gist options
  • Save spddl/adfa9b4674eb0e912008debb2f140fee to your computer and use it in GitHub Desktop.
Save spddl/adfa9b4674eb0e912008debb2f140fee to your computer and use it in GitHub Desktop.
@echo off
SET NODE_ENV=production
SET /A DELAY = 0
TITLE (%DELAY%) %~nx0
:loop
node "app.js"
SET /A DELAY = %DELAY% + 10
TITLE (%DELAY:~0,-1%) %~nx0
TIMEOUT %DELAY%
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment