ember-cli-new-version icon indicating copy to clipboard operation
ember-cli-new-version copied to clipboard

How to test in development? (ember serve)

Open derekwsgray opened this issue 6 years ago • 5 comments

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!

derekwsgray avatar Apr 24 '18 20:04 derekwsgray

The version comes from your package.Jon version field.

knownasilya avatar Apr 25 '18 18:04 knownasilya

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 avatar Apr 25 '18 18:04 derekwsgray

@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.

Romanior avatar May 09 '18 08:05 Romanior

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

basz avatar May 23 '18 12:05 basz

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

Romanior avatar May 23 '18 12:05 Romanior