# HG changeset patch # User Ludovic Chabant # Date 1384293269 28800 # Node ID f0172c5d8e2c70f68fa9a6f25f2c3c07514e2f65 # Parent 5c24e8f8b0952d84fcd58302dd175fbccb51820b Better `Gruntfile` dev support. diff -r 5c24e8f8b095 -r f0172c5d8e2c Gruntfile.js --- a/Gruntfile.js Tue Nov 12 13:52:01 2013 -0800 +++ b/Gruntfile.js Tue Nov 12 13:54:29 2013 -0800 @@ -72,12 +72,8 @@ }, watch: { scripts: { - files: ['static/js/**/*.js'], - tasks: ['jshint', 'requirejs:development'] - }, - templates: { - files: ['static/tpl/**/*.html'], - tasks: ['requirejs:development'] + files: ['static/js/**/*.js', 'static/tpl/**/*.html'], + tasks: ['jshint', 'copy:development'] }, styles: { files: ['static/css/**/*.less'], diff -r 5c24e8f8b095 -r f0172c5d8e2c wikked/web.py --- a/wikked/web.py Tue Nov 12 13:52:01 2013 -0800 +++ b/wikked/web.py Tue Nov 12 13:54:29 2013 -0800 @@ -54,7 +54,8 @@ # SQLAlchemy extension. from flask.ext.sqlalchemy import SQLAlchemy # TODO: get the path from the wiki parameters -app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(wiki_root, '.wiki', 'wiki.db') +app.config['SQLALCHEMY_DATABASE_URI'] = ('sqlite:///' + + os.path.join(wiki_root, '.wiki', 'wiki.db')) db = SQLAlchemy(app)