ember-cli-new-version
ember-cli-new-version copied to clipboard
How to test in development? (ember serve)
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!
The version comes from your package.Jon version field.
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.
@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.
As soon as i change ./public/VERSION.txt
the application will live-reload. negating the older version and this not showing the notification...
@basz run server with --live-reload=false
please