Skip to content

Commit 272d9d4

Browse files
committed
Add --dev in tests
1 parent 8f03485 commit 272d9d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rewatch/tests/compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ rewatch build --snapshot-output &> ../tests/snapshots/dependency-cycle.txt
8282
git checkout -- packages/new-namespace/src/NS_alias.res
8383

8484
# it should compile dev dependencies with the --dev flag
85-
rewatch clean &> /dev/null
85+
rewatch clean --dev &> /dev/null
8686
rewatch build --dev &> /dev/null;
8787
if [ $? -ne 0 ];
8888
then
@@ -100,7 +100,7 @@ else
100100
exit 1
101101
fi
102102

103-
error_output=$(rewatch clean 2>&1 >/dev/null)
103+
error_output=$(rewatch clean --dev 2>&1 >/dev/null)
104104
file_count=$(find ./packages/with-dev-deps -name *.mjs | wc -l)
105105
if [ "$file_count" -eq 0 ];
106106
then

0 commit comments

Comments
 (0)