BrowserSync with yarn?

  • | 4143 points

    mix.js('resources/assets/js/app.js', 'public/js')
    .sass('resources/assets/sass/app.scss', 'public/css')

    I am using yarn and though it would update the browser, I switched to npm but it does not update it opens localhost:3000 instead and updates that, is it possible with yarn or npm to update the website but use nice url laragon autocreates?

  • administrators
    | 132054 points

    @nermamax : As the ports are different, it is not possible with yarn or npm.

    You can use but I see no benefit.

    If you prefer to use, you can use a proxy to foward packets to localhost: 3000 but it requires extra efforts.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.