You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install.yaml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ pre_install_actions:
11
11
project_files:
12
12
- config.browsersync.yaml
13
13
- web-build/Dockerfile.ddev-browsersync
14
-
- browser-sync.js
14
+
- browser-sync.cjs
15
15
- commands/web/browsersync
16
16
- scripts/wp-config-ddev-browsersync.php
17
17
- scripts/remove-wordpress-settings.sh
@@ -24,6 +24,10 @@ post_install_actions:
24
24
if ( test -f "$HOME/.ddev/commands/web/browsersync" ) ; then
25
25
echo "Note: '~/.ddev/commands/web/browsersync' is no longer required and can be safely removed." && exit 0
26
26
fi
27
+
#ddev-description:Check for 'browser-sync.js'
28
+
if ( test -f "$DDEV_APPROOT/commands/web/browsersync.js" ) ; then
29
+
echo "Note: '$DDEV_APPROOT/commands/web/browsersync.js' is no longer required and can be safely removed." && exit 0
30
+
fi
27
31
#ddev-nodisplay
28
32
#ddev-description:Remove old 'docker-compose.browsersync.yaml'
29
33
if grep "#ddev-generated" $DDEV_APPROOT/.ddev/docker-compose.browsersync.yaml 2>/dev/null; then rm -f "$DDEV_APPROOT/.ddev/docker-compose.browsersync.yaml"; fi
0 commit comments