Script js not updating in laravel

Viewed 475

I already have web app develop with laravel, after i edited some line on my javascript file, and save it, it doesn't change when i check on my browser. i put my javascript file on public folder.

@push('scripts')
<script src="{{ asset('public/myJavascript.js') }}"></script>
@endpush

i already tried clear cache on browser, but it doesn't work as well

this app already on live server, i code it via winSCP. I have no idea what was going on here, Thank you in advance

1 Answers

it already solved now, i need to run this command below

php artisan clear-compiled
php artisan view:clear
php artisan cache:clear

thank you

Related