Adds asset precompilation and webserver restart to sync.sh