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

More serve options - Start Zotero only #13

Open
northword opened this issue Apr 2, 2024 · 0 comments
Open

More serve options - Start Zotero only #13

northword opened this issue Apr 2, 2024 · 0 comments

Comments

@northword
Copy link
Owner

有时候会想打开开发用 profile 的 zotero,而不是针对某个插件的,可能需要打开插件目录,start,这样会载入插件并且 watch,有时候仅仅是想测试个东西,不需要 watch,这样有些麻烦了。

可以全局安装这个包,提供一个子命令,然后从环境变量读取 zo bin path 和 profile path,启动 zotero。

(不过这个其实可以通过创建个快捷方式解决?


另外其他选项:

  • prebuild:启动前是否预构建。适用于直接从 dist 调试的。但是目前的设计中,是有两个 watcher 的,一个 watch 源码,onchange->build,一个 watch dist,onchange->reload。所以是可以部分实现这个需求的(除非修改 dist 前没有启动 serve)
  • noreload:
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

No branches or pull requests

1 participant