I have been customizing the landofcoder > Backend extension that creates an adminhtml theme. It lives in the app/code/Ves/Backend folder. However, the only thing I'd like to add is the ability to watch the .css file with grunt watch. Currently, it doesn't see any changes, and I have to continuously manually reload.
I've tried a simple themes.js config, but it could never find the CSS file because it's expecting it elsewhere for an admin theme. If anybody has any pointers, suggestions on how to get the grunt to see the file, that would be amazing. For full reference its:
The Backend extension already has the following in its layout file, app/code/Ves/backend/view/adminhtml/layout/default.xml :
<?xml version="1.0"?> <page xmlns:xsi="w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <css src="Ves_Backend::css/styles.css" order="102"/> <css src="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" src_type="url"/> </head> </page>
Yet the problem persists.