Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the configuration file without updating #1536

Closed
wants to merge 1 commit into from

Conversation

smz8023
Copy link
Contributor

@smz8023 smz8023 commented Jul 5, 2024

Description:

BREAKING CHANGE:

Related issue (if exists):

Copy link

changeset-bot bot commented Jul 5, 2024

⚠️ No Changeset found

Latest commit: f74d418

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ErKeLost
Copy link
Member

ErKeLost commented Jul 7, 2024

configPath 和 configFilePath 是两个不同的属性 不能随意修改

@smz8023
Copy link
Contributor Author

smz8023 commented Jul 8, 2024

configPath 和 configFilePath 是两个不同的属性不能随意修改

我看configPath最终给了configFilePath赋值,但是在start读取configPath时,configPath为 undefined,导致更新配置文件的时候不生效

@ErKeLost
Copy link
Member

ErKeLost commented Jul 8, 2024

这个修改配置文件不生效是什么意思 我没复现出来呢

@smz8023
Copy link
Contributor Author

smz8023 commented Jul 8, 2024

在start 的过程中,触发重启的时候,我想修改代理文件,或者其他的配置文件(farm.config.js),这个时候修改的配置文件是无效的

@wre232114
Copy link
Member

这个场景是你们的工具依赖了 configPath 这个属性吗

@smz8023 smz8023 closed this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants