I got an issue up here.
I'm using laravel 6, and laravel mix only live reloads when the PHP file is in "views" folder directly but, when I make a subfolder in it, it pretends as nothing happened when I make any changes in the files below's it, I have to refresh the web page in the browser every time I make a change.
by the way, I'm using the command npm run watch
, and the results have no errors in it.
so, the order of my folders looks like this:
resources
- views
-
- file1.blade.php
-
- file2.blade.php
-
- folder
-
-
- subfile1.blade.php
-
-
-
- subfile2.blade.php
-