Ignore folder from watching with adonis serve --dev


#1

Hi everyone!
Is it possible to ignore some folder from watching, when we use

adonis serve --dev

command?


#2

You can define your own custom set of watch directories

adonis serve —dev —watch="dir1,dir2"

#3

But we can’t exclude directories something like:

adonis serve —dev —ignore="cache, datafiles"

?


#4

You cannot.

Best way to check that is directly looking at the code

PR welcomed :hugs: