Is it possible to extend the ace serve --watch command #3350
Unanswered
bjornarhagen
asked this question in
Help
Replies: 1 comment
-
Not right now and you have to rely on an external process + watcher for it. But I do imagine adding support for it sometime later. I just have to finalize the API I want to use. Maybe define tasks within the The JSON version can look as follows. {
"triggers": {
"source:change": "RUN SOME COMMAND",
"metafile:change": {
"test": "resources/styles/**/*.css",
"run": "esbuild --bundle REST OF THE COMMAND"
}
}
} And then maybe define some environment variables and share them with the process. Like currently changed file and so on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey can I extend or make use of the
ace serve
command somehow so that it runs my bundle command every time there is a file change? Or do I have to use nodemon/watchman or similar?Beta Was this translation helpful? Give feedback.
All reactions