litecli icon indicating copy to clipboard operation
litecli copied to clipboard

hot reload

Open zachvalenta opened this issue 7 years ago • 2 comments

I'm iterating on a schema design and frequently dropping all tables and then recreating, but to see my changes reflected I need to keep running .open <db_file>. Be cool if litecli could keep track of this.

zachvalenta avatar Nov 10 '19 18:11 zachvalenta

I'm surprised that the changes aren't reflected immediately. We do refresh the completion on any of the DDL statements such as CREATE, DROP, ALTER etc.

I just tried creating a table and I was able to see the new table in the completion list in the very next statement. So I'm not sure what's going on.

Can you give me an example statement that you're using?

amjith avatar Nov 12 '19 05:11 amjith

I start w/ 2 records Screen Shot 2019-12-01 at 6 44 26 PM

I make a POST to create a few more, but litecli reads old data Screen Shot 2019-12-01 at 6 44 41 PM

until I reload w/ .open local.db Screen Shot 2019-12-01 at 6 45 05 PM

zachvalenta avatar Dec 01 '19 23:12 zachvalenta