Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic livereload: how to ignore some files?

I have an Ionic project and I use external tool for processing Coffee and SCSS. By default livereload in Ionic project watches everything. Where I can change this?

like image 787
Dmitriy Avatar asked Mar 19 '23 06:03

Dmitriy


1 Answers

This setting is named watchPatterns (source) and can be changed in ionic.project file:

{
    ...
    "watchPatterns": ["www/**/*", "!www/lib/**/*", "!www/config.codekit", "!www/**/*.scss", "!www/**/*.coffee"]
}

Default value: ["www/**/*", "!www/lib/**/*"]

like image 117
Dmitriy Avatar answered Mar 30 '23 00:03

Dmitriy