Laravel - Compiling Assets - Watching Assets For Changes

The npm run watch command will continue running in your terminal and watch all relevant CSS and JavaScript files for changes. Webpack will automatically recompile your assets when it detects a change to one of these files:

    npm run watch

Webpack may not be able to detect your file changes in certain local development environments. If this is the case on your system, consider using the watch-poll command:

    npm run watch-poll