How do I reload the theme .info file on Drupal 7? I added the following line of code in order to add my own Javascript file to the pages:

scripts[] = myJavaScriptFile.js

Now I need to refresh the .info file somehow. It doesn't seem to be doing this on its own. How do I do this?


You need to clear the theme cache.


If you have drush, enter

  drush cc all

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.