Coder Social home page Coder Social logo

Comments (13)

nikogu avatar nikogu commented on May 5, 2024

我看看,顺便把 commit 改了...之前 git config user name 搞错了,汗 =。-

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

现在 run site 的过程中会有临时文件,如果另开一个命令行窗口操作 git 会被影响。

from ant-design-pro.

nikogu avatar nikogu commented on May 5, 2024

@afc163 是的...要不我把临时文件放到包目录下,这样当前目录就没影响了

貌似不行,我再想想。。。

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

另建一个临时目录,统一放下面,然后 gitignore 掉。

from ant-design-pro.

nikogu avatar nikogu commented on May 5, 2024

@afc163 其实有个问题是,会改 request.js 的源码,然后再回复过来,这样内容其实还是会影响,不过文件数量和名称不会变

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

能不能把 mock 目录整个 copy 一份再操作?主要现在容易误操作。

from ant-design-pro.

nikogu avatar nikogu commented on May 5, 2024

现在是整个 copy 到 src 的,遇到问题了?

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

copy 到一个 gitignore 的目录里。

如果另开一个命令行窗口操作 git 会被影响。

我看到有改动,容易 git commit 或者 git reset 掉。

from ant-design-pro.

nikogu avatar nikogu commented on May 5, 2024

报错已经修复,临时文件的问题移动到 roadhog-api-doc 里面 nikogu/roadhog-api-doc#2

=。- build 的时候还改代码 🔨

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

build 的时间很长的,肯定要充分利用。

from ant-design-pro.

afc163 avatar afc163 commented on May 5, 2024

这个问题最好还是彻底解决一下。除了 build 时的 git 被污染以外,如果我 npm run site 一半时 ctrl+c,也会留下临时文件。

from ant-design-pro.

nikogu avatar nikogu commented on May 5, 2024

好,我想想有什么好的办法 =。-

from ant-design-pro.

chenshuai2144 avatar chenshuai2144 commented on May 5, 2024

终于可以关掉了

from ant-design-pro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.