Livereload is deprecated, use watch. (if livereload is this)
Watch just check is page content changed and if it's true calling "reload" content in you page in browser.
If you want to restart localhost server you can use command line from grunt file (which is nodejs file). See require('child_process').exec
function for more information