[COOK-3379] Only generate keystore and restart when sources change

Signed-off-by: Seth Vargo <sethvargo@gmail.com>