You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chokidar 'src/**/*.js' 'src/**/*.jsx' -c 'echo "the change is {event}";''
And then rename a file, I get an output for the 'add' but not for the 'unlink'. I'm trying to use chokidar with babel so if a file is renamed, I want to remove the old file from the output dir and transpile the new one.
Here's an example of what I mean:
> chokidar 'src/**/*.js' 'src/**/*.jsx' -c 'echo "the change is {event}"'
Watching "src/**/*.js", "src/**/*.jsx" ..
unlink:src/blah.js
add:src/foo.js
the change is add
I'd like to have an output for the change is unlink_AND_ the change is add
please advise.
The text was updated successfully, but these errors were encountered:
when I use the following command:
chokidar 'src/**/*.js' 'src/**/*.jsx' -c 'echo "the change is {event}";''
And then rename a file, I get an output for the 'add' but not for the 'unlink'. I'm trying to use chokidar with babel so if a file is renamed, I want to remove the old file from the output dir and transpile the new one.
Here's an example of what I mean:
I'd like to have an output for
the change is unlink
_AND_the change is add
please advise.
The text was updated successfully, but these errors were encountered: