Try hard refresh (which reloads browser cache) this usually works for me, since the JS is cached.
Oct 14, 2018
6
Level 1
Nova tool creation: application not refreshing after vue component modification
Hi Everyone,
I created a new tool via nova:tool command. Everything seems to be ok but in case I update my vue component (tool.vue) after running "npm run dev" the application does not display the updated data.
My webpack.mix.js is the following:
let mix = require('laravel-mix')
mix.setPublicPath('dist')
.js('resources/js/tool.js', 'js')
.sass('resources/sass/tool.scss', 'css')
It seems to be a refresh problem, in fact if I stop and restart the docker containres and refresh the web page then it displays the updated information included in the vue componenet of the custom tool.
I'm using Laravel Nova v1.1.4
Do yuo have any idea to avoid containers stop/start?
Thanks, MaxdB71
Please or to participate in this conversation.