rsbuild-watch
v1.0.5
Published
When developing with `rsbuild`, you can execute the dev command using the following syntax:
Downloads
5
Readme
Usage
When developing with rsbuild
, you can execute the dev command using the following syntax:
rsbuild-watch dev -wc/--watch-config file1^fil2^file3
By using this feature, you can ensure that your development environment always reflects the latest configuration changes, streamlining your workflow and enhancing productivity.
Example
When your rsbuild.config.ts
file needs to be imported from outside, like this:
├── configs
│ ├── configA.ts
│ └── configB.ts
├── src
└── rsbuild.config.ts
import configA from './configs/configA';
import configB from './configs/configA';
const config = {
// your configs
};
export default config;
try to use rsbuild-watch
!
rsbuild-watch dev -wc/--watch-config ./configs/configA.ts^./configs/configB.ts