configure auto reload when js files change