Skip to content

Commit

Permalink
fix: update Drupal Lab .boltrc config to address error with watching …
Browse files Browse the repository at this point in the history
…files for changes + auto-reload the local Drupal instance when JS or CSS files change
  • Loading branch information
sghoweri committed Apr 11, 2019
1 parent 352a9f4 commit 6ce81c6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
12 changes: 10 additions & 2 deletions example-integrations/drupal-lab/web/themes/bolt-starter/.boltrc.js
@@ -1,9 +1,15 @@
module.exports = {
env: 'drupal',
buildDir: './dist/',
wwwDir: '../../',
verbosity: 1,
enableCache: true,
port: 8888,
webpackDevServer: {
enabled: true,
},
buildDir: './dist',
dataDir: './dist/data',
wwwDir: './dist',
publicPath: '/themes/bolt-starter/dist/',
components: {
global: [
'@bolt/global',
Expand All @@ -13,6 +19,8 @@ module.exports = {
'@bolt/components-icon',
'@bolt/components-navbar',
'@bolt/components-sticky',
'./index.scss',
'./index.js',
],
individual: [
// example specifying a standalone component's CSS and JS individually
Expand Down
@@ -0,0 +1 @@
console.log('Hello Drupal Lab!');
@@ -0,0 +1,5 @@
// Example Sass to show updating CSS will auto-refresh the localhost:3000 server

// body {
// background: red;
// }

0 comments on commit 6ce81c6

Please sign in to comment.