alibaba / alibaba/lowcode-engine

lowcode-demo项目如何开启热重载

Open
#3,122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

clone的官网示例 lowcode-demo 项目,

build.json
````
"devServer": {
"hot": true
}
``

build.plugin.js
```
// config.plugins.delete('hot');
// config.devServer.hot(false);
```

我已经这样设置了,但是修改项目的plugins目录或者任何目录都必须重新npm run start才能看到效果

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with build.json and build.plugin.js in the lowcode-demo project, then run npm run start and reproduce the need to restart after changing plugins or other files. Trace how the dev server's hot setting is applied. Done means relevant file changes appear without restarting the development server.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.