Static GitHub Issues

[1135] How to watch file changes and run script?

prev: Integration of google analytics
next: asyncData reverting after data modified

Hey guys, This may be a simple question, but I want to do something like this:

If a .vue file changes, I want to run some a script. The script generates dynamically a .sass file which I want to import then in my component .sass files.

Maybe you have an idea :)

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c995">#c995</a>)</em></sub></div>