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

father build --watch error #158

Closed
focus7eleven opened this issue Nov 29, 2019 · 1 comment · Fixed by #167
Closed

father build --watch error #158

focus7eleven opened this issue Nov 29, 2019 · 1 comment · Fixed by #167

Comments

@focus7eleven
Copy link
Member

复现 repo:https://github.com/focus7eleven/father-lerna-demo.git

复现步骤:

  1. yarn run init
  2. yarn build --watch

image

yarn build 是正常的,watch 会报错,看上去和 #97 这个很像,但加上 disableTypeCheck 之后依旧报错。

另外,yarn start 会报另外一个错:

image

@sorrycc
Copy link
Member

sorrycc commented Nov 30, 2019

要做两件事才能解决这个问题,

  1. feat: support options.cwd ezolenko/rollup-plugin-typescript2#197
  2. father-build 内部实现里需要把 rollup 的 babel 配置的 typescript 设为 true,迟点提 PR

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 a pull request may close this issue.

2 participants