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

When seed data is updated, Composer needs to be restarted in order to reflect that change #1

Open
michael opened this issue Apr 14, 2013 · 3 comments
Assignees
Labels

Comments

@michael
Copy link
Member

michael commented Apr 14, 2013

I don't understand why this is. The seed is loaded here via ajax:

https://github.com/substance/tests/blob/master/test-api.js#L150

We should somehow fix this since it's gonna happen every time you write tests, and those errors are hard to spot.

You can reproduce by executing a testcase and changing the JSON in seeds/002-some-docs/local.json

@ghost ghost assigned obuchtala Apr 14, 2013
@obuchtala
Copy link
Member

I don't understand why this is. The seed is loaded here via ajax:

https://github.com/substance/tests/blob/master/test-api.js#L150

We should somehow fix this since it's gonna happen every time you write tests, and those errors are hard to spot.

You can reproduce by executing a testcase and changing the JSON in seeds/002-some-docs/local.json

Any clue?

@michael
Copy link
Member Author

michael commented Apr 14, 2013

Really no idea. I did a hard refresh, but while all the source files are updated, the contents of the seed file seem to be cached.

@obuchtala
Copy link
Member

Don't know if we really want to fix it.
Maybe just rely on a restart?

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