openerp - What text editors does --dev reload with work -


i'm following odoo's documentation use --dev all parameter when run odoo-bin, in order have python models updated when change source code without me having restart server. according documentation, reload flag (which part of all) doesn't work text editors. i've been using sublime text, , doesn't seem work because model changes don't take effect until restart server. there good, commonly used text editor work reload parameter, or there list of text editors work it?

if running odoo command line via standard ./odoo-bin --dev reload command should not have issues long have libs setup.

make sure monitor log errors. requires watchdog library installed via pip install watchdog. take @ (currently line 943) of core files https://github.com/odoo/odoo/blob/10.0/odoo/service/server.py see how dev reload works:

def start(preload=none, stop=false):      ...      watcher = none     if 'reload' in config['dev_mode']:         if watchdog:             watcher = fswatcher()             watcher.start()         else:             _logger.warning("'watchdog' module not installed. code autoreload feature disabled")     if 'werkzeug' in config['dev_mode']:         server.app = debuggedapplication(server.app, evalex=true) 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -