Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sail laravel mix hot

#In your webpack.mix.js
mix.webpackConfig({
    devServer: {
        host: '0.0.0.0',
        port: 8080,
    },
})
#in your docker-compose.yml
ports:
            - '${APP_PORT:-80}:80'
            - 8080:8080
              
#then restart sail - sail down
sail npm run hot
Source by github.com #
 
PREVIOUS NEXT
Tagged: #sail #laravel #mix #hot
ADD COMMENT
Topic
Name
8+7 =