Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

change laravel mix to run on different port

// All you need to do is add the following port configs to webpack.mix.js file 

mix.options({
    hmrOptions: {
        host: 'localhost',
        port: '8079'
    },
});

mix.webpackConfig({
    devServer: {
        port: '8079'
    },
});
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #change #laravel #mix #run #port
ADD COMMENT
Topic
Name
1+6 =