xiCO2k / laravel-vue-i18n

Allows to connect your `Laravel` Framework translation files with `Vue`.
MIT License
619 stars 51 forks source link

Infinite laravel mix alert in run watch #30

Closed Ulrich-Mbouna closed 2 years ago

Ulrich-Mbouna commented 2 years ago

Hi @xiCO2k , Thanks you for this helpful librairie.

But i face some issues. I install the librairie with Laravel and Vue3, in combinaision with LaravelMix. When i launch npm run watch, i'm pop with a ton of Laravel Mix alert of successful compilation. I don't know why. Thanks

xiCO2k commented 2 years ago

Thanks for reporting the issue! will definatelly take a look on that.

eminos commented 2 years ago

I have the same issue. It seems it keeps recompiling over and over again.

xiCO2k commented 2 years ago

Will try to find a solution for that, during the weekend, sorry for the delay.

xiCO2k commented 2 years ago

@Ulrich15 and @eminos having trouble replicating this case, can you share your webpack.mix.js file?

Thanks.

Ulrich-Mbouna commented 2 years ago

Morning @xiCO2k ,

There is my webpack.mix.js i have configured, as describe in the documentation.

image

Ulrich-Mbouna commented 2 years ago

@xiCO2k Morning Nothing new yet ?

xiCO2k commented 2 years ago

Sorry @Ulrich15 did not found the time work on it, can you use disableNotifications() on mix for now?

Thanks

xiCO2k commented 2 years ago

Hey @Ulrich15 how many langs do you have on your app?

Thanks.

xiCO2k commented 2 years ago

Also what OS are you using?

xiCO2k commented 2 years ago

Figure it out, should work now on v1.4.4

Ulrich-Mbouna commented 2 years ago

Figure it out, should work now on v1.4.4

Ah ok, let me try it

Ulrich-Mbouna commented 2 years ago

@xiCO2k Good Morning, I have updated the package to version v1.4.4 but the problem persist. I just have 2 language setting, French and English I'm on windows

xiCO2k commented 2 years ago

What are the lang folder names? Thanks

Ulrich-Mbouna commented 2 years ago

the name i puted is frand en

xiCO2k commented 2 years ago

@Ulrich15 sorry to bother you, can you send me a picture of the build?

Like this one:

image

Just to see if I can figure what is the issue still, thanks.

Ulrich-Mbouna commented 2 years ago

Hi @xiCO2k No worry, happy to help to resolve some problems There is the image of my complitation.

Just for informatio, when i run npm run watch for the first time, laravel mix just toast one time, but when i update de code, now it toast ever and ever. Thanks 🙏

image

xiCO2k commented 2 years ago

Not finding a way to replicate this one? 😢.

Will deploy v2.0.0 with the vite plugin, if you want to give it a try and let me know if that works well.

Thanks.

xiCO2k commented 2 years ago

Hey @Ulrich15 any follow up on the issue?

Ulrich-Mbouna commented 2 years ago

Hi @xiCO2k , Hoping you are good. I updated the library to version 2.1.3, and when i run the npm run watch , i faced the same issues. Thanks

xiCO2k commented 2 years ago

Hey @Ulrich15 will need to test this out on windows can't replicate that on Mac or Linux. Will dig in on that, thanks for all the patience

Ulrich-Mbouna commented 2 years ago

Hi @xiCO2k Is this problem be fixed? Thanks.

Henxed commented 2 years ago

Confirm. This problem exists only on Windows. Even after upgrading from 1.4.3 to 2.3.0. The "watch-poll" saves me. We also hope that this bug will be fixed.