OraOpenSource/apex-nitro

debounce on file change

Closed this issue · 3 comments

to avoid 100x recompiling if multiple files are changed at the same time (checking in a branch, batch search and replace)

difr commented

Hello, Vincent!
You can take difr@38b678a
to fix this.

@difr what is process.env.SINGLE_BUNDLE in your code?

difr commented

@vincentmorneau
coz i use single repo for whole project, there are all developing libs/pages in single rollup config.
so if i'm currently working only with 1 of them i don't need to rebuild all untouched (it takes too much time), so i use SINGLE_BUNDLE=pageXXX and it rebuilds only pageXXX
(SINGLE_BUNDLE used in my rollup config)