Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
How to add a custom watch script to the Vue CLI?

I have a Vue project created with the CLI, and need to add a script that triggers when the contents of the folder changes.

The goal is to make it so that when an image is changed in the images folder, the script needs to process those images and spit out the results into a separate folder, which are then used in the app. This needs to be done before the Vue app is compiled and served so that the processed versions are available to the app.

I'm pretty new to working with things the way Vue is setup, where things are pretty abstracted with the Vue-cli abstracting webpack in some way I'm not really sure what's going on under the hood, or how I would go about modifying the setup to allow me to do what I need. Anyone with more experience with the setup know how this might be done?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!