1) Currently the script only sources ~/.profile if on Mac. It would be nice to load up all of .bashrc and .profile on Linux too.
2) If the ./isolate-, etc paths dont exist, then rm print stuff to stdout. Calling rm -rf would solve this.
3) writing the .isolate files to /tmp would also remove the possibility of leaving around log files in the currently directory. They could then be moved into the quasimodo_test directory when call node --prof-process. tempfile on Linux (maybe OSX?) could make things easier.
Couple of minor things:
1) Currently the script only sources ~/.profile if on Mac. It would be nice to load up all of .bashrc and .profile on Linux too. 2) If the ./isolate-, etc paths dont exist, then rm print stuff to stdout. Calling
rm -rf
would solve this. 3) writing the .isolate files to/tmp
would also remove the possibility of leaving around log files in the currently directory. They could then be moved into thequasimodo_test
directory when callnode --prof-process
.tempfile
on Linux (maybe OSX?) could make things easier.