Revise esp --platform to take a path