A tools set for development usage when using cortex.
$ npm install cortex-dev-tools -g
Start debug server serve resource files via chrome extension. (You should run cortex install
and cortex build
before debug):
$ ctx-dserver -E alpha -p 5050
Start proxy in dev folder of your module (You should run cortex install
and cortex build
before debug):
$ ctx-proxy -b www.example.com -p 5050
Then configure proxy of your browser to localhost:5050
. Refresh the page, js/css files will be loaded from your local directory.
MIT