Open Jujulego opened 10 months ago
To detect : use .gitignore file => all that is not ignored might be a source file + override by a property in workspace's package.json
Rollup integration (and vite) : can develop a plugin, using buildStart
& buildEnd
to monitor rollup build state.
buildStart
can return a Promise (might allow to control start if rollup waits for it to resolve)
Webpack integration : can develop a plugin, using beforeRun
& done
to monitor webpack state.
beforeRun
is async & serial => might allow to control compilation start
The idea is to behave like the "run" command, but instead of ending when all task are done, this should watch over input files, and retrigger tasks affected by detected changes, and then retrigger dependent tasks.
Problems: