untymage's avatar

mix doesnt copy new files during npm run watch

Hey when i add some images into my resource folder during npm run watch, mix doesnt copy them into another directory:

mix.js('resources/js/app.js', 'public/js')
    .copy('resources/css/images', 'public/images')

But when i re watch or npm run dev, it will work

0 likes
1 reply
MichalOravec's avatar
Level 75

npm run watch doesn't check new files, images, css, js and so on. If you add new files you have to recompile how you mentioned.

Please or to participate in this conversation.