Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 851 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 851 Bytes

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