Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Re-compiling after changes to HTML

4 views
Skip to first unread message

Naveen Neel

unread,
Sep 8, 2014, 1:47:58 AM9/8/14
to
Probably a straightforward question.

I made changes to results.html to fix a bug. I then followed the instructions here https://dxr.readthedocs.org/en/latest/development.html#testing and ran
"make templates" in the root directory as well as "make" in tests/test_basic.
But, the changes do NOT show up the next time dxr-serve is launched.

I tried making an intentional syntax error in the html file and then re-running the above make functions but there were no errors.

Can someone let me know what I'm missing?

Thanks,
Naveen

Erik Rose

unread,
Sep 8, 2014, 11:22:52 AM9/8/14
to Naveen Neel, dev-stati...@lists.mozilla.org
That should work, as long as the copy of templates.js generated when you run "make templates" is the one dxr-serve is finding. However, if you ever accidentally ran "python setup.py install", you will have a second copy of DXR in your systemwide Python site-packages dir, immune to any changes you make: https://dxr.readthedocs.org/en/latest/development.html#troubleshooting. I suspect this is what's going on from the tests you've already run, but, to corroborate, put a syntax error in app.py and see if you can get dxr-serve to crash. If not, you definitely have a second copy of DXR hanging out somewhere. You can remove it with [sudo] pip uninstall dxr.

Cheers,
Erik
0 new messages