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

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

_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to