This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sampling process 66991 for 1 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling node (pid 66991) every 1 millisecond | |
Process: node [66991] | |
Path: ~/.nvm/versions/node/v0.12.0/bin/node | |
Load Address: 0x100000000 | |
Identifier: node | |
Version: ??? | |
Code Type: X86-64 | |
Parent Process: zsh [61302] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forever start --uid 'appname' -o app.log -e error.log -a -w --watchIgnore '!{app.js,{src,common,lib}/**}' app | |
# breaking it down: | |
# | |
# --uid 'appname' name the process so we can use `forever stop appname`. | |
# the quotes are necessary. | |
# | |
# -o app.log / -e error.log pipe stdout/stderr to files | |
# | |
# -a append to said files |