0

I am currently switching to Laravel Valet as a simple webserver and am serving my current project under project.test. Everything - including PHP, JS and CSS - is serving file except my assets/css/style.css file.

When I open it in the browser I get an empty result and a 200 response code. When I rename the file to assets/css/main.css it is serving fine - only with the file name style.css. I also tried clearing my browser cache, using another browser, ensuring Valet has enough permissions to read the file (the file has the same permissions as the other files that are served successfully) and completely restarting Laravel Valet but it won't serve the file.

Do you have any idea why it won't serve my assets/css/style.css file?

Jack Dunsk
  • 91
  • 1
  • 11
  • Can you please share your laravel mix configuration? – Victor H. Avelar Nov 01 '18 at 09:20
  • assets is a folder under the public directory or in the resources? – nakov Nov 01 '18 at 09:33
  • @VictorH.Avelar and @nakov The project I am hosting is not a Laravel project but a simple SlimPHP project with only an `index.php` file and my other assets in the `assets` folder. The file `assets/css/style.css` is in that directory in my filesystem, there is no Laravel router inbetween. – Jack Dunsk Nov 02 '18 at 09:19

1 Answers1

0

Can you ls -la /Library/LaunchDaemons and see if there is a Laravel/Valet looking file in there? If so, delete it :)

Maybe this can solve your issue ?

hfekher
  • 668
  • 4
  • 14