sintaxi/harp

Request : Auto Reload

jm-kumaresh opened this issue · 3 comments

Any idea adding auto reload the browser when there is a changes in file.

You can do it with browser-sync.

I use livereloadx. Example package.json file:

"scripts": {
    "server": "harp server",
    "livereload": "livereloadx -s public --include '*.{json,less,scss,js,ejs,jade,md,pug}'",
    "dev": "npm-run-all --parallel server livereload",
    "start": "npm run dev",
    "compile": "harp compile"
}

@omichelsen Thank you for sharing that article. Also @Nadeeshyama that's a great set up you have for your package.json as well. Thank you guys.