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

How to test in development? (ember serve) #39

Open
derekwsgray opened this issue Apr 24, 2018 · 5 comments
Open

How to test in development? (ember serve) #39

derekwsgray opened this issue Apr 24, 2018 · 5 comments

Comments

@derekwsgray
Copy link

Hi, really not sure what I'm doing wrong here, but how do I run ember serve and test this out?
I see the VERSION.txt copied to /dist.
I edit dist/VERSION.txt but every time it gets requested, the change isn't picked up.

Thanks!

@knownasilya
Copy link
Collaborator

The version comes from your package.Jon version field.

@derekwsgray
Copy link
Author

Not if I create the file myself, which I've tried. (also... that isn't documented as far as I can see...)

Either way that doesn't answer the question as to how I can test it - i.e. trigger a change in development to see if it works.

@Romanior
Copy link

Romanior commented May 9, 2018

@derekwsgray Create file ./public/VERSION.txt, opt-out from automatic generation (optional), and just change version manually in ./public/VERSION.txt it moves automatically to /dist/ folder.

@basz
Copy link
Contributor

basz commented May 23, 2018

As soon as i change ./public/VERSION.txt the application will live-reload. negating the older version and this not showing the notification...

@Romanior
Copy link

@basz run server with --live-reload=false please

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

4 participants