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

一个文件解析的问题 #14

Closed
SMbey0nd opened this issue Dec 30, 2014 · 0 comments
Closed

一个文件解析的问题 #14

SMbey0nd opened this issue Dec 30, 2014 · 0 comments
Labels

Comments

@SMbey0nd
Copy link

spm server运行时并且是standalone状态时,如果output中设置的文件发生变化,或者新增了一个文件的时候,这些文件的头部seajs mini不会实时更新。

举例:

  1. 项目根目录下有a.js
  2. package.json中设置spm.output为"./*.js"
  3. 启动server,此时a.js头部有seajs mini模块
  4. 将a.js改为b.js
  5. 查看b.js,发现b.js头部没有seajs mini模块,强制刷新也无效
  6. 重启server
  7. 查看b.js,发现依然没有seajs mini模块,但强制刷新后出现,问题解决。

同理,新增b.js文件问题也如上。

请各位大神帮忙看下:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants